Hey folks! 👋 I'm about to dive into Data Structures and Algorithms (DSA), and I'm torn between using C++ or Python for my studies. I've previously learned Python in high school, but I want to make sure I pick the right language for this journey, so any advice would be greatly appreciated!
3 Answers
Honestly, if you're looking to get a solid footing in job interviews, I recommend considering Java. A lot of companies prefer candidates who are familiar with Java due to their existing codebases. However, if you're set on C++, that's totally fine, too! Just avoid Python for DSA — it can be limiting. Also, if you're interested in learning programming from the ground up, starting with C will really help you understand how systems work, even though that's not directly related to DSA.
Thanks! I’ll take all your suggestions into account before I start!
Totally agree! Learning DSA is more about understanding the concepts than the actual language itself. So feel free to pick whichever one you feel comfortable with.
You know, it really doesn't matter much which language you use for DSA. The concepts are the same no matter what language you choose. Since you have some background in Python, it might be best to stick with that. If you're in college and they teach DSA in a different language, just go with that instead.
Why do you say to avoid Python for DSA?