Does itmake sense to practice the hard ones? I'm hearing that only the easy and medium ones are being asked on interviews. Is that true?
It’s best to just assume interviews are hard and practice the hardest you can
I only practice the hard ones now, because I can already consistently get easy/medium in an expedient manner. But when I started out, I only practiced easy/medium because those are most commonly asked and the hards seemed out of reach for me at the time. As for whether or not companies will ask hards... Yes, some will. But I wouldn't bother trying them until you're consistent with easy/medium. Those are far more likely to be asked, and mastering those will serve as a foundation for tackling hards.
Google can I DM you? Need some advice on LC strategy
Please post the LC strategy as others are benefit from it
Hard ones since it’s unlikely you will solve them in the time given without seeing it beforehand.
Of course. No other way to solve medium and hard in 15 minutes or less.
Personally, I find it most useful to focus on the mediums. For hards, you can often do a suboptimal solution or optimal solution with hints from interviewer and still get at least a lean hire rating. When you get asked medium and especially easy you generally are expected to get it perfect on the first try with no hints so it’s much more important to practice.
If you are targeting Facebook & Google you should do Hard ones as well. Although the phone interviews are mostly Medium now, you will get Hard questions on-site. This comment is solely based on my personal experience interviewing at these companies.
Don’t agree here - FAANG is mostly about medium problems
How is Docker's interview process? Elaborate?