Facebook | Phone | Monotonic Array & Binary Tree Paths

I am trying to get an Software Engineer, Android, position in London.

I was given 4 weeks to prepare for the phone interview, since I was not practicing before.

On the interview itself, I was asked 2 questions:

  1. 896. Monotonic Array
  2. 257. Binary Tree Paths
    This question was a variation of the Binary Tree Paths. Instead of returning the paths, I was asked only to print each of the paths. Also, instead of printing the path from root -> leaf, I was asked to print the reversed path, from leaf -> root. Furthermore, the print format was only to concatenate the values. In the LeetCode question, it should return "1->2->5", but I was asked to print "521".

Answered both in time and I received an email later on the same day informing me that I moved for the next step on the interview.

As we are in quarantine, all interviews at Facebook are remote. So I am preparing for my Onsite Interview that will be held remotely.

Comments (8)