solve it out based on binary search and analyze the time and space complexity
Anonymous
1 Jun 2020
The key in generic questions like this, is to make sure to cover the fundamentals. There's usually a back-and-forth with the interviewer.
Might be worth doing a mock interview with one of the Facebook Software Engineer New Grad experts on Prepfully? Really helps to get some real-world practice and guidance.
prepfully.com/practice-interviews