I have an initial interview in 2 months. I have 10 YOE but just solved 40 LC (easy and mediums only). I can solve easy in under 20 mins, but mediums 45 mins. I haven't solved hard with optimal solution yet. I've reviewed arrays, linked lists, graphs, sorts and trees. I've never practiced DPs except just trying out solutions, but not solving them myself. I only have 2-3 hours 6 days a week to prepare. Any tips on which topics I should focus? Anything specific (LRU, Priority Q, Dijkstra)? Or just solve all topics under FB in LC?
Solve as much as you can in your 2-3 hours, 6 days a week for 2 months. Every and any topic is fair game. The idea is to build up a set of tools and techniques that will help you solve whatever is thrown at you.
Thank you.
Dp?
Dynamic programming
Thanks
No DP questions at FB as far as I know. You have to solve two questions within 45 mins. One leetcode easy, next leetcode medium. If you are not lucky you may get an interviewer asking hard.
I was asked only one question. I took entire 45 mins to come up with working solution. I feel it’s medium level waiting for the outcome
I wanna know as well. For a “friend”