Facebook Screening round E5 position for London
Anonymous User
1747

I was asked below questions in the screening round, I discussed all the assumptions and edge case with the interviewer before writing the code & proposed multiple solution for them. Also I asked interviewer if he would like me to implement the solution using iterative or recursive way.
I kept talking while writing the solutions and did dry run for 3-4 testcases(1 positive, 1 ngeative and 2 edge scenarios) for each problem.

  1. Verify an alien dictionary Interviewer slightlty changed the question by providing array of characters as dictionary rather than the String as in the original question.
  2. Lowest common ancestor in binary tree
  3. Design tic tac toe

I was able to finish all the three questions in 35 minutes(total interview duration was 45 minutes). I am surprised as the interviewer asked me 3 questions in 1 round, preparing now for the loop interview.

Comments (3)