YOE: 5.5
Recruiter reached out to me and we scheduled a phone interview. It was 2 questions in 45 minutes.
- https://leetcode.com/problems/random-pick-with-weight/
- https://leetcode.com/problems/kth-largest-element-in-an-array/
Got some hints for #1 and made some simple mistakes.
I couldn't complete #2 in O(n) and gave the simple and easy O( n log n) time complexity answer instead. This most likely wasn't what the interviewer was looking for.
I don't expect to have passed, but it was a good experience. Definitely do the top 20 tagged fb questions as these 2 were picked from it and know them inside and out.
Comments (1)


