D. E. Shaw Interview Experience for Summer Intern 2022 | On-Campus
DE Shaw visited our campus (VJTI, Mumbai) in the first week of August 2021 for a 2-month software development internship.
Round 1: Coding Test
Number of questions: 3 Coding questions
Each question had a separate timer, and it wasn’t allowed to attempt the previous questions once the timer ran out. Switching between questions wasn’t allowed either.
- You have been given an N-sized array of product numbers and another N-sized array of the product cost for those N elements respectively. There can be multiple products of the same product number with different costs. You need to find the maximum cost we can get by selecting one product of each product number. So you cannot select multiple products of the same product number.
- You are given an NxM matrix. The cells contain *(asterisk) or .(dot) Here, ‘*’ means land, and ‘.’ means water. You need to find the maximum one of all the minimum area rectangles that can completely enclose an island. Neighboring * forms an island (Top, Left, Right, Bottom). The minimum area rectangle can have water in it but should contain an island completely within itself.
- You have been given N strings, you need to create a minimum length string such that those N strings are substrings of that output string. Extra condition: Let’s consider 2 strings A and B from the given list, if A is before B in the list then in the output string, B should start after the start of A.
Round 2: Technical Interview 1
This round started with a standard ‘tell-me-about-yourself’ question.
Next, he asked me questions regarding my previous internship. The discussion went on for 5 – 10 minutes.
I was only asked to write pseudocodes in this round.
- The third question was related to DFS/BFS in a grid.
I was able to provide optimal solutions to all questions.
- Questions about polymorphism – its types, ways in which polymorphism can be achieved, etc.
- A few questions about Inheritance.
- Explain the need for normalization.
- Explain 1NF, 2NF, 3NF using a university database example.
- Write the query to find the maximum salary for every department from a table (Basically use of group by clause)
- Questions related to indexing (internal structure — eg Btree, B+Tree)
- Difference between clustered and non-clustered indexes.
- Virtual memory and how it is implemented.
- I was given a scenario and was asked how virtual memory will work in that scenario.
A few more questions were asked from OOPs, DBMS, and OS which I don’t remember exactly. In the end, he asked me if I had any questions. I asked him about the technologies used by an Intern and the job description for an intern.
Round 3: Technical Interview 2
He first asked me about my most recent project — brief description, tech stack, challenges faced, etc.
Kadane’s algorithm – I was asked to code the algorithm and also dry-run it on an example.
Follow-up question – https://www.geeksforgeeks.org/k-th-largest-sum-contiguous-subarray/
I was asked time complexity, space complexity as well a few basic mathematical questions related to the number of pairs possible, etc. I could provide the optimal approach to the question although I did make a few mistakes here and there while mentioning the exact time complexity. But the interviewers were helpful and provided hints whenever it was necessary.
The second question was a puzzle, didn’t have to code anything. Make sure you understand the question well though. I misunderstood the question and ended up giving the wrong solution initially. The interviewer later re-explained the question to me.
- Inheritance and virtual keyword.
- vptr and vtable.
- size of an object without any data members.
- static keyword
- I was asked to debug an OOPs code snippet as well.
- Questions related to polymorphism.
- Basic questions of OOPs like what is class, what is an object, what are the main concepts of OOPs.
OS: This time some really good and in-depth questions related to fork system call and virtual memory were asked.
A few more questions on core subjects were asked that I don’t recall.
No DBMS questions were asked to me in this round, although a few students were asked questions related to DBMS.
In the end, he asked me if I had any questions. This time, I asked him for a few projects that were done by my last year interns and how the projects were distributed among interns. The interviewer was very kind and explained 2 of the previous projects to me.
After this round, 3 students received offer letters, and I was fortunate enough to be one of them.
Please Login to comment...