Grokking the Google Forward Deployed Engineer Interview
Vote

0% completed

​

Changing Approach in the Middle of a Question

Interviewer: "Your hash set version is correct. Now suppose the list is very large and you cannot use extra memory. Can you solve it a different way?"

Candidate: "Yes. I will keep the first version above as a reference. If I sort the weights, I can use two pointers from both ends with no extra set. Let me state why that is correct, then reuse my four tests."

This exchange is this course's own illustration

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content