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.
- Verify an alien dictionary Interviewer slightlty changed the question by providing
arrayof characters as dictionary rather than theStringas in the original question. - Lowest common ancestor in binary tree
- 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)


