Tip 1 : Make sure that you are thorough with CS concepts beforehand.
Tip 2 : Even when you are explaining the approach to a question, try to parallelly think about how you would code it.
Tip 3 : Read the previous interview experiences. It would give a fair idea of the kind of questions one should expect.
Tip 4 : For a company like DE Shaw, practicing medium and hard difficulty level coding questions would be the way to go.
Tip 5 : Practice atleast 200 questions from coding platforms like CodeZen, LeetCode, Interviewbit as they contain common interview questions.
Tip 1 : Mention atleast 1 project and past work experience as it sets good impression.
Tip 2 : Keep your resume up to date for the role you are applying.
Tip 3 : Try to keep your resume of 1 Page.
- Morning time
- Environment was good.
- No
- Interviewer was good



1. A magic index in an array A[0 ... N - 1] is defined to be an index i such that A[i] = i.
2. The elements in the array can be negative.
3. The elements in the array can be repeated multiple times.
4. There can be more than one magic index in an array.
s1 - If your output magic numbers are correct, the runner will print "Correct", else "Incorrect".
s2 - Approach by array, array or -1 if there does not exist any magic index for the given array.



a) Both players play in alternate turns and they can remove only one coin in their turn.
b) Any player can remove coins only from either of the two ends of ‘ARR’.
There can be more than one set of coins with maximum value.
a) Consider 3 coins are placed with values [10, 20, 30]: Wong removes 30, then Strange removes 20, then Wong removes 10. Now all coins are taken, and Wong has coins with value 40 and he wins.
b) Consider 1 coin is placed with value [100]: Wong removes the coin and no other coin is left. So, Wong wins with value 100.
a) The game only ends when NO MORE COIN IS LEFT to play with.
b) If a game ends in a draw, Wong is declared the winner.
s1 - Approach by maximum value, 3 coins are placed with values [10, 20, 30]: Wong removes 30, then Strange removes 20, then Wong removes 10. Now all coins are taken, and Wong has coins with value 40 and he wins.
s2 - game only ends when NO MORE COIN IS LEFT to play with.
- Morning time
- Environment was good.
- No
- Interviewer was good




Can you solve the problem in O(N) time?
Tip 1 - I used greedy approach.
Tip 2 - Follow data structure concept
- Morning time
- Environment was good.
- No
- Interviewer was good



Tip 1 : Prepare Subjects in Depth for Technical Coding & Interview Round. Cracking the DE Shaw interview is not possible just by reading the short articles one night before.They ask the questions in-depth.
Tip 2 : All the Questions were basic in the HR Round !! … Be Honest in HR Round as well as Technical Rounds.
Tip 3 : Be Confident in HR Round and don't hesitate while answering and explaining situation based questions.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?