Are you boy or girl ?
Sde Interview Questions
16,639 sde interview questions shared by candidates
To convert a string into number
Can you explain what the pseudo-code below is trying to do? array[N] # array of N integers, indexed 0 to N-1; # assume it’s populated with [1,4,2,-2,-9,10,2,12,2,-4,-4,-4,-4,2,6,7] peak = array[0] index = 0 output = [] # array of tuples For x in 1..N-1 if (array[x]*array[x-1] > 0) if peak < 0 and array[x] < peak peak = array[x] index = x if peak >= 0 and array[x] > peak peak = array[x] index = x else output.insert( (index, peak) ) peak = array[x] index = x end if end for return output
2 Leetcode Medium questions in first interview
2nd questions was frog jump
Asked 2 Algorithms questions, which are based on stacks and Queues.
Majority of questions were related to graph, and trees. If you practice problems its a piece of cake
mostly common about design specific
First round was DSA. They have asked a case based DSA question where we have to minimize the penalty considering maxOperations in mind.
- Threadpooling - Solid Principles - HashMap vs ConcurrentHashMap - What is Thread Safety. - What is Thread? What is Process?
Viewing 1691 - 1700 interview questions