Sde Interview Questions

16,590 sde interview questions shared by candidates

1. Shift all the zeroes in an array to the end and to the beginning. 2. Insert and delete a node from between in a doubly-linked list. 3. Find k nearest numbers of n in a sorted array, where n and k are given. You're supposed to tell the approach, write the code on their text editor, and dry-run it. Also, tell and reduce the complexity if required. 4- Write JOIN Queries in SQL, Graphs vs Trees, SQL vs NoSQL, and the Execution order of a query in SQL. 5- How will you sort data with numbers from -1B to +1B?
avatar

SDE Intern

Interviewed at Chaayos

3.6
Jul 21, 2023

1. Shift all the zeroes in an array to the end and to the beginning. 2. Insert and delete a node from between in a doubly-linked list. 3. Find k nearest numbers of n in a sorted array, where n and k are given. You're supposed to tell the approach, write the code on their text editor, and dry-run it. Also, tell and reduce the complexity if required. 4- Write JOIN Queries in SQL, Graphs vs Trees, SQL vs NoSQL, and the Execution order of a query in SQL. 5- How will you sort data with numbers from -1B to +1B?

Given the graph consist of pair and weight attached to it. Print out the node having the maximum number of inorder weights. (Node having maximum sum weight ). Given the graph, Print out the maximum weight Cycle of the graph. ( Cycle which has maximum sum weight ). Given the 2 nodes. Print the shortest path between them. ( Return the array containing the path).
Mar 9, 2022

Given the graph consist of pair and weight attached to it. Print out the node having the maximum number of inorder weights. (Node having maximum sum weight ). Given the graph, Print out the maximum weight Cycle of the graph. ( Cycle which has maximum sum weight ). Given the 2 nodes. Print the shortest path between them. ( Return the array containing the path).

Viewing 361 - 370 interview questions

Glassdoor has 16,590 interview questions and reports from Sde interviews. Prepare for your interview. Get hired. Love your job.