Sde Interview Questions

16,593 sde interview questions shared by candidates

coding interview round - 1) search in a row and col wise sorted matrix 2) find if two tree are identical 3) maximum product subarray technical interview round - what is node js , what is event loop ,what are threads, difference between thread and process , what is middleware , etc. all questions related to my web dev project .
avatar

SDE 1

Interviewed at Swiggy

3.5
Oct 28, 2021

coding interview round - 1) search in a row and col wise sorted matrix 2) find if two tree are identical 3) maximum product subarray technical interview round - what is node js , what is event loop ,what are threads, difference between thread and process , what is middleware , etc. all questions related to my web dev project .

There were 3 rounds of interview. In first round, there were 2 questions and i had to explain and code both. First question was based on merging intervals and in other question a binary tree was given and I had to find the size of a subtree in which all the nodes have value 0. in round 2, again there were three questions and the interviewer said "I want to have a good discussion, if your are unable to give correct answer its okay, but correct answer will matter." first question was same as "house robber 3" on leetcode, except it was n-ary tree. In second question, I was given a binary tree and i had to remove and edge from the tree such that resulting two tree's heights difference is maximum. I had to return the difference of heights. In round 3 i was asked a few questions about my life and journey along with some designing questions based on OOPS
avatar

Software Development Engineer (SDE)

Interviewed at Microsoft

4
Jan 6, 2022

There were 3 rounds of interview. In first round, there were 2 questions and i had to explain and code both. First question was based on merging intervals and in other question a binary tree was given and I had to find the size of a subtree in which all the nodes have value 0. in round 2, again there were three questions and the interviewer said "I want to have a good discussion, if your are unable to give correct answer its okay, but correct answer will matter." first question was same as "house robber 3" on leetcode, except it was n-ary tree. In second question, I was given a binary tree and i had to remove and edge from the tree such that resulting two tree's heights difference is maximum. I had to return the difference of heights. In round 3 i was asked a few questions about my life and journey along with some designing questions based on OOPS

Duck in the pond. Start: Duck located in the center of circle (pond). Fox is on the beach and cannot swim. Duck cannot fly (by some reason), but once duck is on the beach, she will fly away. Duck speed - x Fox speed - 4x Can duck escape? Why?
avatar

Software Development Engineer (SDE) II

Interviewed at Microsoft

4
Aug 24, 2015

Duck in the pond. Start: Duck located in the center of circle (pond). Fox is on the beach and cannot swim. Duck cannot fly (by some reason), but once duck is on the beach, she will fly away. Duck speed - x Fox speed - 4x Can duck escape? Why?

Viewing 301 - 310 interview questions

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