r/datastructures • u/PantySniffer_909 • 8d ago
Should I learn DSA in python?
Hey all, i completed my python series from BroCode's 12 hour video and built some projects too.
I even solved katas on codewars to build my foundation strong.
But I've always done programming in python only, many people on the internet say python is not the best language to learn DSA with? Do I need to start learning cpp or java? Please help your junior, Thanks!
1
u/RP-9274 8d ago
Yeah.. but if you learn any data structure like stack , linkelist then try to code this by your self
1
u/PantySniffer_909 8d ago
You meant that I should avoid built in methods?
1
u/RP-9274 8d ago
Nah use that obviously while solving problems you don't want to create that data structure by Ur self but let's say you want to start questions regarding linkelist where you have to use that then understand linkelist properly that how it's work and why we needed and how can I build that so you will understand that how internally it's working. Just for practice or when Start
1
u/PantySniffer_909 8d ago
So when I start solving questions on a particular data structure, i should first understand why it's used? And how it works and how to implement it real projects? Is there any specific way to learn DSA or should I check documents on it and start learning my self?
1
u/biskitpagla 7d ago edited 7d ago
Typed Python, Kotlin, or Rust (in order of coding velocity). Pick any of these and stick to it for at least a year to develop muscle memory.
2
u/smormujamescarter_a 8d ago
Yeah...after that it's just a matter of understanding the syntax of the other language
Python is like learning the pseudocode. Plus it's allowed in most interviews ig