How should I prepare for a coding interview?
Work through data structures and algorithms by pattern rather than at random — arrays and hashing, two pointers, sliding window, trees, graphs, then dynamic programming — and solve each under a timer. Follow that with mock interviews where you explain your reasoning out loud, since communication is scored alongside correctness.