> Or do I learn what I need to learn to get through it, fail once or twice and iterate?
There's a difference between trying to _learn_ to get through and cramming as much "knowledge" as possible just to spit it out in the interview, and what usually happens is the second case, specially regarding algorithms.