Why do I suck at the easiest LC problems in an interview?
I’ve done serval phone screens and onsites and had success on the harder problems more often than what would typically be the simplest which has caused me to fail out of a few good job opportunities. This usually ends up happening when a company wants to do the FB approach of solve 2 problems fast.
Anyone else have this experience? I feel like I’m choking and it gives a horrible signal to companies as if I can’t code at all. I generally will get a solution sometimes with help but it takes too long.
Ex of trash problem solving:
1. 2 sum took - me like 25 minutes to do optimally and it wasn’t succinct like the LC solution
2. Count Binary Substrings
3. Populating Next Right Pointers in Each Node
Ex of efficient solution to LC Hard:
1. Median of sorted array
2. Remove invalid parentheses
3. The Skyline Problem
4. Anything with graphs
TC: 220
YOE: 5
comments