I’m getting started with Leetcode Explore to prepare for coding interview. Some problems given there takes me more than 2 hours to solve and some I can’t solve it no matter how much time I spent. Is it normal? I would like to know how much time one should spend before seeing solution in order to use time wisely?
Don't worry about seeing the solution. If anything, circle back on problems that you initially couldn't solve or you weren't able to solve at all. Once you look at a solution, it's really hard to forget those specifics and you lose out on the problem solving process. You get better at recognizing patterns and become faster over time. Just trust that you'll become better and don't become discouraged.
2 hours to solve? Which ones? Easy, medium, hard?
Medium. I’m going by topics in Leetcode Explore so have to solve every problem to advance. Should I just solve easy ones instead and not to go by topics ?
Doesn't matter. Even if you keep at the medium ones, eventually you will get better as you will see similar problems. But if you are losing motivation by being stuck, move to easy for a while then come to medium. Also if something takes too long or you can't solve, after your attempt, definitely read about what better solutions exist.
Im in the same boat, there are about 250 easy ones ~50 locked ones, so im trying to complete all 200 of em first, then ill move to Medium
Same here .. not that straightforward to solve a medium one within first few days of your prep
Practice on easy first. It's a skill you need to practice to get fast at