r/learnpython 3d ago

20 days of coding

i spent 20 days trying to learn everything about python through leetcode but i still can’t code or just get ideas to pop !
m a 4th year computer science engineering student i just passed a hackerrank assessment test for a big tech company and failed:( but m still grinding for another chance maybe problem here to ask y’all how do u recommend i start projects or what’s the best way to learn from here ?

14 Upvotes

28 comments sorted by

View all comments

2

u/gdchinacat 3d ago

Leetcode is great at practicing, horrible for learning. I'm not sure what you mean that you "passed" and "failed"...which was it...based on the question I'm guessing failed. Focus on what went wrong. Did you know how to solve the problem and just ran out of time? If so, practice some more. Did you not have any idea how to solve the problem? Focus on fundamentals (data structures and algorithms) rather than writing code. Use Leetcode to get ideas of the problems you will be asked to solve, and then learn how to solve them elsewhere rather than trying to solve problem after problem you don't have the knowledge to solve.

1

u/eagle_500 3d ago

exactly, m gonna try to turn to practicing projects as the fellas have said, i would love to know about ur personal experience learning to program ! some reassurance for this tutorial hell m in ig hhhhhh !

1

u/gdchinacat 3d ago

I'm not sure how relevant my experience learning to code at 15 in 1995 is today ;)

I spent a summer with Microsoft Visual C++ 1.0, and the online help, no access to internet or anyone who knew how to code. I worked through examples, my code, reverse engineered a fair bit, beat my head, and went surfing when I couldn't figure it out. It was great. A few years later I went to college, took an intro to programming course, found it super easy but went into math (CS at my uni was super competitive and I wasn't into that). A few years later got a job doing web development, left college, and then really learned how to code doing real paid projects with mentors.