Facebook | L4 | Dec 2019 [Offer]

Anonymous User
2779
Jan 09, 2020
Jan 13, 2020

Phone Interview: (45 mins)
3Sum - https://leetcode.com/problems/3sum/

Onsite Interview:
I don't remember the exact order I got all these questions in but generally each interview was ~50 minutes.

  1. [Coding] https://leetcode.com/problems/verifying-an-alien-dictionary/
  2. [Coding] Given an array of positive integers is there a subarray of sum k? similar to https://leetcode.com/problems/subarray-sum-equals-k/
  3. [Coding] Find kth largest integer in an "online" list. i.e. numbers are being streamed in and you do not have the full list up front
  4. [Coding] https://leetcode.com/problems/remove-invalid-parentheses/
  5. [Coding] Some String based questoin I can't remember anymore
  6. [Coding] Another question I can't fully remember but it involved an array of numbers and checking whether a given range had some property or to compute a property that was pretty simple, but the twist was that the function would be called many times with the same array so you had to use some clever caching strategy. This was given to me in the remaining 10 minutes of a behavioural interview
  7. [System Design] - text completion system for an edit text (e.g. as user types they see suggested results)
  8. Behaviour questions about previous experience
  9. Another behaviour round
Comments (7)