Problems¶
My experience with LeetCode¶
Normally, I try to understand the problem by reading and coding at the same time. Initially, I find it hard to come up with a solution. So, I either go to the Discuss section under the Description tab or check the Solution and Editorial Solution tabs to find the solution.
At first, I feel demotivated because I can't solve the problem on my own. But then I realized that the main challenge is not just about solving the problem, but understanding it. So, I read the solution and try to comprehend it. Then, I follow the solution step by step and try to understand why it was solved in that particular way.
In the end, the questions revolve around data structures and algorithms. However, I'm not familiar with these concepts because, as a programmer, when I'm working on a project, I don’t usually think about data structures and algorithms explicitly; I just code and make it work.
Learning data structures and algorithms is like learning problem-solving skills, but in a technical way. Even though the end result might work without a proper implementation of data structures and algorithms, it may not be efficient. Therefore, learning them will make your work more professional and efficient.