I’m beginning to interview for my 2nd job coming out of a boot camp (I’ve been at my first for 2 yrs now). I lucked out last time around and never needed to leetcode since the places I happened to have interviewed used more real world problems.
I understand that a lot of leetcode problems follow the same 4-5 patterns, and its usually just a matter of practicing enough to start recognizing them. Any good resources out there that could give me a heads up for what I should be looking for? I’m starting to get myself more familiar with some concepts like BFS, DFS, etc, but want to be sure I’m making the most of my time.
Some of the other patterns are bucket sort( can bring down time complexity from o(nlogk) to o(n), sweep line (o(n2) to o(nlogn)) backtracking , ordered trees, backtracking, minimax, sliding window, monotonically increasing/decreasing array.
The best way is to do all the related problems together.read a lot of discuss section of these problems