Mock:
Real:
- https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/
- https://leetcode.com/discuss/interview-question/354854/Facebook-or-Phone-Screen-or-Cut-Wood
I ended up providing the optimized O(n) time and O(1) space solution for the parentheses problem. For the wood one, I provided a brute force solution with a lot of prompting from the interviewer - not sure this one will cut it.
Good luck out there!
Comments (5)


