What is the average time one should take for solving Leetcode problems? Easy? Average ? Hard?
I would say if you're really good, 10/15/20mins to solve without explanation. Double the time for explaination. If you stuck, if can be forever.
As a competency check, 10,25,40. But if you are just practicing, I don’t spend more than 10 without looking at solution unless I have a decent idea of how to solve it.
Are you talking abt optimal solution or any working solution? Any working solution 10/20/60. Varies a lot for optimal solutions
Try for 10, 20, 40 minutes, respectively.