D E Shaw Interview | Set 4 (On-Campus for Internship)
D. E. Shaw recently carried out intern procedure in our college. The whole process had three rounds.
It was CV shortlisting. Out of total 41 candidates, 12 were selected.
It was a telephonic interview. The call lasted 40 minutes. The interviewer asked about my academic project first. Next, he asked about my preference in a programming language – C/C++/JAVA. My preference was C++. So he started with OOP concepts. After I have named a few of the highlights of OOP, he asked about Data Encapsulation. He then demanded an example for the same. Few questions followed about the C++ implementation of the example that I had given. He then switched to virtual functions. Next came Inheritance, upcasting and downcasting, where should the virtual keyword be used.
He asked me how do we call the constructor of the base class using derived class. Next, he asked DS questions. There were three questions in total.
2. Given a singly linked list. How to we detect if a loop is present in the list. (Both Brute-Force as well as Floyd’s Cycle Algorithm had to be explained in details).
Last round was again a telephonic interview. This time too the call lasted 40 minutes. There were two interviewers this time. I was asked to explain one of my projects at the beginning. Then, I was asked to explain any of the projects.
Next, they asked me about STL, Generic classes and templates in C++. He then asked me to give an example of a class implemented using templates.
After this came the Data Structures part. This time, they asked me two questions. Both of them were related to real-life scenarios.
1. Given details of a person – First name, last name and telephone number. Sort them according to the last name. I said we can use qsort() and explained the whole process and design of comparator function. But they demanded an answer without using any of the library functions.
2. They next asked me given a number in the directory, how will you search for the person details from the directory. Your answer must be efficient enough so that it could be used on a map like Mumbai.
3. The next question was to implement a spell-check that is used in Microsoft Office Word and which data structure could be used to implement it.
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
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. Google and Microsoft Test Serieses.