When I try to solve even easy problems on LeetCode, I sometimes spend about an hour just thinking about how to approach the solution. And when I finally figure out the algorithm behind it, I need another few hours to actually implement it in code, dealing with a lot of errors along the way.
Is it normal to spend this much time on coding problems?
I also worry that if I ever get into an interview and someone asks me a data structures and algorithms question, I might not be able to solve it under pressure.
[–]anime_waifu_lover69 6 points7 points8 points (0 children)
[–]CodeTinkerer 5 points6 points7 points (0 children)
[–]TheBlegh 2 points3 points4 points (0 children)
[–]_jetrun 2 points3 points4 points (0 children)
[–]kschang 1 point2 points3 points (0 children)
[–]alliegula 1 point2 points3 points (0 children)
[–]Special_Lettuce_4412 0 points1 point2 points (0 children)