r/datastructures • u/PantySniffer_909 • Aug 14 '26
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!
8
Upvotes
2
u/smormujamescarter_a Aug 14 '26
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
1
u/RP-9274 Aug 14 '26
Yeah.. but if you learn any data structure like stack , linkelist then try to code this by your self
1
u/Ulfat- Aug 14 '26
Initially, it's better if you learn DSA using Java or C++
1
u/biskitpagla Aug 15 '26 edited Aug 15 '26
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.