Explain the HLD of your previous project
Software Developer Ii Interview Questions
3,998 software developer ii interview questions shared by candidates
Data Structure questions were being asked
OA first which includes 2 algorithm coding parts and selection questions for behavior questions and system designs. VO has 4 rounds, 3 rounds are algorithm, 1 round is system design.
Question from interviewer: Find path from Knight to friend in a matrix filled with land and water. My answer: Using bruteforce explored all the possible paths. Interviewer is not happy with the approach. I have optimized the solution by exploring the shortest paths, interviewer did not understand the optimization even after explaining. He didn't understand the distance calculation, I have used the Manhattan distance formula which is very popular in AI community. My solution may not be the better but it always gives the right answer even if it takes more time. The optimization I have proposed helps in reducing the time only, doesn't deviate the final output. The interviewer is looking for the probability of the right answer, which I couldn't convince him. Overall: Rude, arrogant, confused.
Not going to reveal questions. Go and study.
A union find problem. A problem to find number of swaps to make an array sorted.
25 mins, find the smallest substring which contains all the unique characters Aim was to find a O(n) solution for the same.
Write a code for reversed singly linked list.
Amazon truck has to deliver packages to people. Based on schedule ([StartTime:EndTime]): [[0,30],[5,10],[15:20]), find out if the truck will be able to make all appointments. (Basically find intersections within the lists).
Experience and questions on stack queue chess design
Viewing 1821 - 1830 interview questions