Skip to content
Related Articles

Related Articles

DE Shaw Internship Interview Experience (On-Campus) 2021
  • Difficulty Level : Hard
  • Last Updated : 07 Aug, 2020

DE Shaw visited our campus (MNIT Jaipur) in the first week of August 2020 for a 2-month software development internship.

Technical Test (90 minutes) | HackerRank:

  • Given an array of numbers find the number of triplets such that Ai<Aj<Ak or Ai>Aj>Ak for all (i<j<k). | (O(n^2) or O(n log(n)).
  • There are x lions, y tigers, z leopards, and w panthers. Find the number of ways to place them on a line such that no two same animals are adjacent to each other. (0<=x,y,z,w<=51) [DP]
  • LCS of three strings

I was able to solve three questions in 40 mins and because of this, I was given very much preference in the interview.

Out of 101 students, 12 were shortlisted for the next round.

Technical Interview | Codepair (HackerRank) | (60 Minutes):

There were two interviewers and both of them were very helpful.

  1. Given two sorted array of size n and m+n. with n and m elements respectively merge them without using extra space.
  2. A brief discussion on the project.
  3. Explain Virtual function (vptr and vtable).
  4. Multiple Inheritance and Diamond Problem.
  5. Page replacement algorithm.
  6. concept of virtual memory.
  7. Dining Philosopher problem using Semaphore, mutex lock with pseudo code. 
  8. Thrashing
  9. Convert BST to min-heap.
  10. Puzzle: Magnets are placed linearly, with each magnet to be considered as of point object. each magnet suffers force from its left-sided magnets such that they repel it to the right and vice versa. All forces are repulsive. The force is inversely proportional to distance (1/d, d being the distance). Make a function as shown below that takes n as the number of magnets, and an array of their distance from the origin, which finds all the points along the linear line where net force is ZERO. Distance has to be calculated with the precision of epsilon.
  11. Median of Stream of Running Integers
  12. Scheduling (OS)
  13. Few more questions on OOPS which I don’t remember.

3 students out of 12 were promoted to the next TI. Your coding round score, attitude, confidence, and communication skills matter most. You must have a deep knowledge of at least one language. Read all the articles related to your primary language on geeks for geeks.

Technical Interview 2 (50 Minutes):

There were two interviewers in this round also. They were also very helpful and were providing necessary hints at the relevant times

  1. Design data structure to implement a text editor. I was made to code following operations ( they often asked to write in the most readable and optimal way )
  • Insertion at any location
  • Deletion of word from any location
  • Undo 
  • Redo
  • Copy/Paste

(in between they asked me questions related to any STL library which I used and there internal working)

  1. How cin and cout work and questions on operator overloading
  2. Question on malloc and free in C.
  3. Difference between endl and \n.
  4. Difference between strongly typed and weakly typed languages, dynamic and static languages, and classify c++ and python based on the same.
  5. What will happen if I do, int arr[2]; while(true)arr++;
  6. Question on Inter Process Communication.
  7. Page replacement algorithm.
  8. File handling in c++ and what happened if we open a 10gb file in a computer with 4gb RAM.

After this round, only 2 students were selected for the summer internship and I was fortunate enough to be one of them.

If you want then after each round you may ask some questions to the interviewee.

Example You can ask about technologies, languages used in their company, or about the environment.

All questions were available on GeeksForGeeks and it is the best site I found for interview preparation. A big thanks to the whole geeks for geeks team and contributors.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.  To complete your preparation from learning a language to DS Algo and many more,  please refer Complete Interview Preparation Course.   In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.

My Personal Notes arrow_drop_up
Recommended Articles
Page :