YOE: 4 years
I was asked these two questions-
- https://leetcode.com/problems/binary-tree-level-order-traversal/
- https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/
Update: The overall experience was good. I was able to code the first one in ~10 min
I was asked to optimize my approach in second question as I was using a stack and another set(to mark invalid parenthesis). With some hints from the interviewer, I was able to come up with an approach to use no extra memory apart from the output string
Result - Moved to next round
Comments (2)


