Filter interviews by
I applied via Company Website and was interviewed in Feb 2023. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Aug 2022. There were 2 interview rounds.
I applied via Approached by Company and was interviewed in Jun 2022. There were 3 interview rounds.
I applied via Company Website and was interviewed before May 2023. There were 3 interview rounds.
DE Shaw interview questions for popular designations
I appeared for an interview in Mar 2022.
Round duration - 120 Minutes
Round difficulty - Hard
Online Test Platform - HackerRank
Test Access Window – between 10:00 AM to 6:00 PM
Online Test Pattern –
Total Duration of Test – 120 mins
Total No. of Sections - 5
Section 1 – One Coding Question - Easy difficulty (20 mins)
Section 2 – One Coding Question - Medium difficulty (30 mins)
Section 3 – One Coding Question - Medium difficulty (30 mins)
Section 4 - Technical MCQs - 10 questions (20 mins)
Section 5 - Aptitude MCQs - 10 questions (20 mins)
Programming Sections (1, 2 and 3): This will have 3 coding questions with a time limit of 80 minutes. It is mandatory for you to attempt the 1st coding question before moving to the second question and third. You cannot revisit question/section once you proceed ahead
MCQ Sections (4 and 5): This will have 10 technical and 10 aptitude questions, with a time limit of 20 minutes each. Each correct answer will carry 2 marks and wrong answer will carry negative 0.5
Technical questions will cover Data structures & algorithms, Operating systems, Database systems, SQL and Networks.
Aptitude questions will cover Quantitative Aptitude, Problem solving and Logical & verbal Reasoning
Given an array 'ARR' of 'N' cubes, you need to construct towers such that each cube can either be placed on top of an existing tower or start a new one. The restriction is...
The task is to determine the minimum number of towers needed to stack cubes in a specific order.
Iterate through the array of cubes and maintain a stack to keep track of towers.
For each cube, check if it can be placed on an existing tower or start a new one.
Update the stack based on the cube's size and count the number of towers needed.
Return the minimum number of towers required.
Example: For input N = 3, ARR = [3, 2, 1
Given an array ARR
of size N
and an integer K
, determine the minimum number of elements that must be removed from the array so that the difference between the maximum an...
The problem involves finding the minimum number of elements to remove from an array so that the difference between the maximum and minimum element is less than or equal to a given value.
Iterate through the array and keep track of the minimum and maximum elements.
Calculate the difference between the maximum and minimum elements.
If the difference is greater than the given value, increment the count of elements to remove.
...
Aragorn, an influential ruler, aspires to expand his power by conquering more kingdoms. There are 'N' kingdoms numbered from 0 to N-1, forming a tree structur...
Given a tree structure of kingdoms, determine if it's possible to conquer more kingdoms than Aragorn by strategically choosing the starting kingdom.
Start at the kingdom adjacent to Aragorn's initial kingdom
Choose the kingdom that allows you to capture the most number of kingdoms in subsequent turns
Consider the tree structure to plan your conquest strategically
Round duration - 60 Minutes
Round difficulty - Medium
They called and asked me to choose a date and time I would be free in the upcoming week for my interview.
I chose 10th March 5 pm.
Interviewer was pretty friendly. Started with some resume based questions. Asked me OS, DBMS and JAVA based questions. A coding question was asked to code. Asked me OOPS related questions too.
Given an integer array ARR
and an integer K
, identify the K
most frequent elements within ARR
. Return these elements sorted in ascending order.
Identify K most frequent elements in an array and return them sorted in ascending order.
Use a hashmap to store the frequency of each element in the array.
Sort the elements based on their frequency in descending order.
Return the first K elements from the sorted list.
Tip 1 : Learn the OS and DBMS fundamentals.
Tip 2 : Practice a wide variety of questions on Leetcode
Tip 3 : Do practice aptitude. It will help in OA
Tip 1 : Use OverLeaf format to make resume
Tip 2 : Do not mention any skill you aren't comfortable with. A lot of the times they ask you questions based on what is written in your resume.
Get interview-ready with Top DE Shaw Interview Questions
I appeared for an interview in Feb 2022.
Round duration - 120 Minutes
Round difficulty - Hard
To arrange a high-security meeting, tables are set up for delegates and security personnel. There are N
rows of tables. The first row has one table, the second row has two tables,...
Generate a pattern of guest and security personnel distributions across tables for a given number of rows.
Iterate through each row from 1 to N
For each row, print the pattern based on the number of guests and security personnel at each table
Tables on each end of a row are reserved for security personnel
You are given a 2D matrix 'ARR' of size 'N x 3' with integers, where 'N' is the number of rows. Your task is to compute the smallest sum achievable by selecting one...
Find the smallest sum achievable by selecting one element from each row of a matrix, following certain constraints.
Iterate through each row and find the minimum element that can be selected without violating the constraints
Keep track of the selected elements to avoid selecting elements directly below them in the next row
Sum up the selected elements to get the smallest possible sum
Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell ...
The task is to determine the maximum profit that can be achieved by performing up to two buy-and-sell transactions on a given set of stock prices.
Iterate through the stock prices to find the maximum profit that can be achieved by buying and selling stocks at different points.
Keep track of the maximum profit after the first transaction and the maximum profit overall after the second transaction.
Consider edge cases where...
Round duration - 90 Minutes
Round difficulty - Medium
You're provided with a string 'STR' that represents a JSON object. Your task is to return an array of strings representing JSON objects, formatted with proper indentation ba...
The task is to format a JSON object string with proper indentation based on specific rules.
Iterate through the string character by character and keep track of the indentation level.
Use a stack to keep track of opening and closing braces to determine the indentation level.
Insert four spaces or a tab (' ') for each level of indentation.
Handle commas to represent new lines in the output array of strings.
For a given array of integers arr
, identify the peak element. A peak element is an element that is greater than its neighboring elements. Specifically, if arr[i]
is the peak, then both...
Find the peak element in an array of integers.
Iterate through the array and check if the current element is greater than its neighbors.
Handle edge cases for the first and last elements of the array.
Return the peak element found.
Tip 1 : before interview, practice questions with company tag on websites like leetcode and see previous experiences
Tip 2 : even if you're able to solve the question, see approaches used by other people and try to solve the question in multiple ways
Tip 1 : put links of your work like competitive coding profiles, hosted projects, github, etc
Tip 2 : revise everything on your resume before interview
I appeared for an interview in Aug 2021.
Round duration - 90 Minutes
Round difficulty - Medium
This round had 3 coding questions. The first two were of moderate level and the third one was a bit hard and was related to Dynamic Programming.
Given a linked list where each node contains a single digit, your task is to construct the largest possible number using these digits.
Print ...
To find the maximum number that can be formed using the digits present in a linked list.
Traverse the linked list and store the digits in an array
Sort the array in descending order
Concatenate the sorted array elements to form the maximum number
You are given an array/list CHOCOLATES
of size 'N', where each element represents the number of chocolates in a packet. Your task is to distribute these chocolates among 'M'...
Distribute chocolates among students to minimize difference between largest and smallest packets.
Sort the array of chocolates packets.
Use sliding window technique to find the minimum difference between largest and smallest packets distributed to students.
Return the minimum difference as the output.
Given three strings A, B, and C, determine the length of the longest common subsequence present in all three strings.
A subsequence is derived by dele...
Find the length of the longest common subsequence among three strings.
Use dynamic programming to solve this problem efficiently.
Create a 3D array to store the lengths of common subsequences.
Iterate through the strings to fill the array and find the longest common subsequence length.
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 questions of DS/Algo to solve under 60 minutes and 2 questions related to Operating Systems.
Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell ...
The task is to determine the maximum profit that can be achieved by performing up to two buy-and-sell transactions on a given set of stock prices.
Iterate through the array of stock prices and calculate the maximum profit that can be achieved by buying and selling at different points.
Keep track of the maximum profit after the first transaction and the maximum profit overall by considering all possible combinations of bu...
You are provided with an array called HEIGHT
that contains the heights of 'N' people standing in a queue. For each person in the array, compute the number of individuals on t...
Count the number of people to the right with a smaller height for each person in a queue.
Iterate through the array from right to left and maintain a sorted list of heights encountered so far.
Use binary search to find the position where the current height should be inserted in the sorted list.
The count of smaller people to the right for each person can be calculated based on the index of insertion in the sorted list.
Processes are instances of programs in execution, while threads are smaller units within a process that can execute independently.
Processes are independent entities that contain program code, data, and resources.
Threads are lightweight units within a process that share the same resources but can execute independently.
Processes have their own memory space, while threads share the same memory space.
Processes communicate ...
Different types of semaphores include binary semaphores, counting semaphores, and mutex semaphores.
Binary semaphores: Can only have two states - 0 or 1. Used for mutual exclusion.
Counting semaphores: Can have multiple states. Used for resource allocation and synchronization.
Mutex semaphores: Similar to binary semaphores but with additional features like priority inheritance and deletion safety.
Round duration - 60 Minutes
Round difficulty - Medium
This round had 3 coding questions in which I first had to explain my approach with proper complexity analysis and then code up the solution. I found the first problem to be a bit on the harder side compared to the rest of the 2 problems.
Given a matrix of non-negative integers of size 'N x M', where 'N' and 'M' denote the number of rows and columns respectively, find the length of t...
Find the length of the longest increasing path in a 2D matrix by moving in four directions.
Use dynamic programming to keep track of the longest increasing path starting from each cell.
Explore all four directions from each cell and recursively find the longest increasing path.
Optimize the solution by storing the length of the longest increasing path starting from each cell.
You are presented with a circular track consisting of several petrol pumps. Each petrol pump is indexed from 0 to N-1 and offers certain attributes:
Find the first petrol pump from which a truck can start its journey and complete the circle.
Iterate through each petrol pump and calculate the remaining petrol after reaching the next pump.
If the remaining petrol is negative at any point, reset the starting point to the next pump.
If the total remaining petrol at the end is non-negative, return the starting point as the answer.
Consider 'n' carrots numbered from 1 to 'n' and 'k' rabbits. Each rabbit jumps to carrots only at multiples of its respective jumping factor Aj (i.e., Aj, 2Aj, 3Aj, ...), for all ra...
Calculate uneaten carrots after rabbits jump on multiples of their jumping factors.
Iterate through each carrot and check if it is divisible by any rabbit's jumping factor
Keep track of uneaten carrots and return the count at the end
Consider using a set to store eaten carrots for efficient lookup
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Campus Placement
I appeared for an interview in Jul 2021.
Round duration - 90 Minutes
Round difficulty - Hard
This round had 3 coding questions and the difficulty of the questions ranged from Moderate to Hard level.
You are given a list of points, and currently at point 0, your task is to determine if you can reach the last point N
. At each point i
, you can jump at most JUMP[i]
length forw...
The task is to determine if it is possible to reach the last point in a list of points by jumping a certain distance at each point.
Iterate through the list of points and check if it is possible to reach the last point by jumping the maximum distance at each point.
Keep track of the farthest point that can be reached from the current point.
If the farthest point that can be reached is greater than or equal to the last poi
You are provided with a Binary Tree consisting of 'N' nodes, where each node holds an integer value. Your objective is to identify and list all nodes that do not possess a...
Identify and list nodes in a Binary Tree without siblings.
Traverse the Binary Tree in level order and keep track of nodes without siblings.
Check if each node has a sibling by comparing with its parent's other child.
Output the values of nodes without siblings in ascending order.
Given a square chessboard of size 'N x N', determine the minimum number of moves a Knight requires to reach a specified target position from its initial position...
Calculate the minimum number of moves a Knight requires to reach a specified target position on a chessboard.
Implement a function that calculates the minimum number of moves for a Knight to reach the target position on an NxN chessboard.
Consider the possible movements of a Knight on a chessboard (2 squares in one direction and 1 square in a perpendicular direction).
Use breadth-first search (BFS) algorithm to find the s...
Round duration - 60 Minutes
Round difficulty - Medium
This round went for about 50-60 minutes where I had to code two questions related to DSA after discussing their approaches and time and space complexities and then I was asked some questions revolving around OOPS. The interviewer was quite freindly and helped me at some places where I was facing some difficulties.
You are provided with an arithmetic expression in Reverse Polish Notation represented as an array EXP
. Your task is to calculate the value of this expres...
Evaluate arithmetic expression in Reverse Polish Notation using stack.
Use a stack to keep track of operands and perform operations when encountering an operator.
Iterate through the array of strings and push operands onto the stack, perform operation when an operator is encountered.
Handle division using modular division to avoid floating point precision issues.
Return the final result modulo 10^9 + 7 as specified in the
You are given a binary search tree (BST) containing N nodes. Additionally, you have references to two nodes, P and Q, within this BST.
Your task is to determine the Lowest Com...
Find the Lowest Common Ancestor (LCA) of two nodes in a Binary Search Tree (BST).
Traverse the BST from the root node to find the LCA of nodes P and Q.
Compare the values of nodes P and Q with the current node's value to determine the LCA.
If both nodes are on the same side of the current node, move to that side; otherwise, the current node is the LCA.
Handle cases where one node is the ancestor of the other node.
Example: ...
Diamond Problem is a common issue in multiple inheritance in C++ where a class inherits from two classes that have a common base class.
Diamond Problem occurs when a class inherits from two classes that have a common base class, leading to ambiguity in accessing members.
It can be resolved in C++ using virtual inheritance, where the common base class is inherited virtually to avoid duplicate copies of base class members.
...
Garbage collection in OOP refers to automatic memory management by deallocating memory of objects no longer in use.
Garbage collection is a process of automatically reclaiming memory occupied by objects that are no longer in use.
It helps prevent memory leaks and ensures efficient memory usage.
Languages like Java, C#, and Python have built-in garbage collection mechanisms.
Garbage collection can be done using different al...
Round duration - 60 Minutes
Round difficulty - Medium
This round consisted of two coding problems which involved proper coding it and explaining each and every aspect and showing the dry run over a few test cases was also necessary.
You are given a list/array of strings representing the contacts in a phone directory. The task is to perform a search based on a query string 'str' and return all contacts...
Implement a phone directory search feature to suggest contacts based on a given prefix query string.
Iterate through the contact list to find contacts with the prefix matching the query string.
Display suggestions as the user types each character of the query.
Handle cases where no suggestions are found for a particular prefix by printing 'No suggestions found'.
Given a binary tree, determine and return its bottom view when viewed from left to right. Assume that each child of a node is positioned at a 45-degree angle from its parent.
N...
Return the bottom view of a binary tree when viewed from left to right.
Traverse the tree in level order and keep track of horizontal distance and depth of each node
For each horizontal distance, update the node in the map if it is deeper than the current node
Return the values of the map in sorted order of horizontal distance
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Top trending discussions
Some of the top questions asked at the DE Shaw interview -
The duration of DE Shaw interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 77 interviews
Interview experience
based on 154 reviews
Rating in categories
Analyst
165
salaries
| ₹13 L/yr - ₹32 L/yr |
Senior Analyst
127
salaries
| ₹10.1 L/yr - ₹38 L/yr |
Manager
70
salaries
| ₹14 L/yr - ₹60 L/yr |
Associate
56
salaries
| ₹8 L/yr - ₹28.8 L/yr |
Project Lead
53
salaries
| ₹25 L/yr - ₹94 L/yr |
Morgan Stanley
Citadel
Blackrock
AQR Capital Management