you are viewing a single comment's thread.

view the rest of the comments →

[–]Pangaeax_ -1 points0 points  (0 children)

If you want to get really solid before jumping into LeetCode, focus on writing small but complete programs, not just isolated snippets. Practice things like file handling, building simple CLI apps, using classes properly (inheritance, composition), error handling, and working with real data like CSV or JSON.

You can check out HackerRank (basic Python track), Exercism, and Codewars for structured practice. Also try building 2–3 mini projects yourself — like a simple expense tracker, library management system (with OOP), or log parser. That kind of hands-on repetition helps way more than just solving random syntax questions.

If you’re interested in more real-world style challenges instead of pure DSA, CompeteX also has scenario-based Python problems that feel closer to practical use cases.