Just gave my phone screen and want to give back.
- 1008. Construct Binary Search Tree from Preorder Traversal
- Variant of Merge Intervals but instead: Given A and B two interval lists, A has no overlap inside A, and B has no overlap inside B. Write the function to merge two interval lists, output the result with no overlap
For example,
A: [2,6], [10,14], [16,18]
B: [1,5], [8,10], [11,20],
output [1,6], [8, 20]
- Out of luck as 1Q was the one I did not see or prepare for. Took over 20mins just discussion alone. Couldn't code up
- 2Q had the right approach but interviewer grilled on explaining how to get to result which lead to no time to code.
Instant rejection I'd say. I was hoping to get both questions in top 50 tagged but I guess luck was out of hand.
Hope this helps!!!
Comments (3)


