Signed NDA
Grad Interview Questions
7,945 grad interview questions shared by candidates
1. Kth largest number in an array. They do a lot of follow up. I gave him the perfect solution with min heap. Then he said if the K was large how to optimize space, I gave him solution with quickselect. Make sure to know time and space complexity well. 2. Valid binary search tree check. I have given him the solution with two range checking and recurrence. He told me to optimize with only one value.
Find the minimum window in string S which will contain all the characters in string T
Create copy of LinkedList
Find the minimum distance to a leaf node in a binary tree
Describe a team project or team work
Data Structures, system design
Given a network of friends like Facebook, describe a function that would tell whether two people were mutual friends.
Some of the questions were vague yet i could tell they were looking for something specific. Didn't come right out and ask.
HashMaps, storage/time tradeoffs, streams, etc.
Viewing 1161 - 1170 interview questions