Round 1:
Asked 6 behavioral questions, covering a pretty wide range. The ones I remember are:
- How to handle a tight deadline
- Proactively helping others (help others)
- Digging into a problem's root cause (deep dive)
- How to handle disagreeing with a colleague (conflict with colleague)
- Doing something outside your scope (outside your scope)
- How to respond to negative/harsh feedback
Round 2:
Two coding questions, both had to be written by hand on the spot and dry run:
Question 1: Given a binary tree, write left_view and right_view — that is, the first/last node visible from the left and right at each level. Required to implement it both with BFS and with DFS, and manually dry run it to check the logic (things like the tree's edge cases, leaf nodes, etc.).
Question 2: The classic "Product of Array Except Self", also had to dry run it to confirm how the prefix/postfix values change at each step.
Round 3:
OOD + BQ mixed round:
The OOD question was to design a module like the Unix find command, required to support finding files by condition.
Also asked two BQ questions:
- Proactively helping colleagues (help others)
- Proactively taking on tasks outside your scope (outside your scope)
Discussion
Loading comments…