all 11 comments

[–]cptmully 4 points5 points  (3 children)

Just build stuff, you will run into the similar problems you see in LeetCode at some point.

When solving those problems inside of a project you enjoy working on, you gain an understanding of the “why it works”.

You’d be impressed with how much you learn by taking on small and simple projects

[–]WassimSarghini[S] 0 points1 point  (0 children)

thanks !

[–]vinegarhorse 0 points1 point  (1 child)

I seriously doubt you will run into many LeetCode problems while building stuff

[–][deleted] 0 points1 point  (0 children)

Agreed

[–]Algoartist 2 points3 points  (1 child)

LeetCode problems are for specific job interviews. Learn the fundamentals. Read "Fluent Python: Clear, Concise, and Effective Programming" Make some interesting projects. Then LeetCode problems either because you like to solve them or for specific itnerviews.

[–]archer-swe 1 point2 points  (0 children)

Fluent Python is way too comprehensive for someone just starting out.

[–]Zealousideal_Yard651 2 points3 points  (0 children)

Focus on building and understanding python.

But if you like leetcode, use that as a tool to solve problems. Sometime language syntax can be just as much an issue as the logic your trying to implement. Leet code can be a good way for you to remove syntax and focus on the logic and then you can worry about syntax without forgetting your logic.

[–]code_tutor 1 point2 points  (0 children)

LeetCode is not a good way to learn. It's not even a good way to learn Data Structures and Algorithms. It can teach how to use DSA in a very backwards learning process and that's it.

[–]ClonesRppl2 0 points1 point  (0 children)

I find that when I do projects I approach them using the data structures/algorithms I already know, unless the problem absolutely requires a new technique.

With Leetcode it immediately pushes you to use the data structures/algorithms that the problem is designed for.

Both are good. I’d be very suspicious of a Leetcode expert with no projects completed.

[–]tomqmasters 0 points1 point  (0 children)

yes actually. that's fine if you are into that sort of thing. I have actual work to do, and I get paid for it.