Facebook | Phone screen | E5

Anonymous User
1566
Aug 04, 2020
  1. https://leetcode.com/problems/product-of-array-except-self/
    I proposed the solution using two arrays and was immediately asked the follow up
    Could you solve it with constant space complexity? (The output array does not count as extra space for the purpose of space complexity analysis.)
    I explained how im planning to implement and jumped into implemntation. Took 20 minutes to solve and debug first question.

  2. https://leetcode.com/problems/leftmost-column-with-at-least-a-one/
    I proposed m + n complexity and jumped into implementation right away.
    Took 15 minutes to solve and debug the second question.

    Result - cleared phone screen.

Comments (1)