Sde Interview Questions

16,593 sde interview questions shared by candidates

OA round only A 7 Apti B 1 Schema design and query answering C 2 programming Questions (Java/-) A Basic apti questions. Taps filling a tank, and one of them is removing water Cost price, Selling price, breakeven point - 2 problems When does an angle of 30 degree is made between hour and minute hands between 8-9PM rowing a boat with and against stream, how much time will the person take to row in still water A couple of more problems were there B Design schema for an grocery booking website. 1 The website has a fair amount of customers 2 Customers can place multiple orders 3 Each Order can have multiple items 4 Customers can have multiple shipping addresses 5 One order can be shipped to unique add. only Define Schema, Primary Keys, Foreign Keys, Indexing (if needed) for fast result for the following query, write the SQL for each 1 Name, Contact of all customers who have not placed a single order 2 Name, Email of customers whose Oders have more than 5 items C Programming 1 Chocolate Distribution Given N chocolates, you can select a group of m students and distribute chocolates using the following rule Equal Number should be distributed All students will have more than 1 chocolates There will not be a case where all chocolates will be given to a single students Return true/false if possible to distribue 4 - true 17 - false (hint : prime numbers) Programming 2 Given an array of length of rods [5,4,4,2,2,8] Each time you have to process all rods, until all are exhausted. In each round, pick the smallest length rod and cut the same length from all. print number of processed rod in each round. eg input = [5,4,4,2,2,8] op = [6,4,2,1]
avatar

SDE 1

Interviewed at Wissen Infotech

3.8
Jun 26, 2021

OA round only A 7 Apti B 1 Schema design and query answering C 2 programming Questions (Java/-) A Basic apti questions. Taps filling a tank, and one of them is removing water Cost price, Selling price, breakeven point - 2 problems When does an angle of 30 degree is made between hour and minute hands between 8-9PM rowing a boat with and against stream, how much time will the person take to row in still water A couple of more problems were there B Design schema for an grocery booking website. 1 The website has a fair amount of customers 2 Customers can place multiple orders 3 Each Order can have multiple items 4 Customers can have multiple shipping addresses 5 One order can be shipped to unique add. only Define Schema, Primary Keys, Foreign Keys, Indexing (if needed) for fast result for the following query, write the SQL for each 1 Name, Contact of all customers who have not placed a single order 2 Name, Email of customers whose Oders have more than 5 items C Programming 1 Chocolate Distribution Given N chocolates, you can select a group of m students and distribute chocolates using the following rule Equal Number should be distributed All students will have more than 1 chocolates There will not be a case where all chocolates will be given to a single students Return true/false if possible to distribue 4 - true 17 - false (hint : prime numbers) Programming 2 Given an array of length of rods [5,4,4,2,2,8] Each time you have to process all rods, until all are exhausted. In each round, pick the smallest length rod and cut the same length from all. print number of processed rod in each round. eg input = [5,4,4,2,2,8] op = [6,4,2,1]

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 281 - 290 interview questions

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