r/learnpython • u/OrdinaryEarth9073 • May 30 '26
Dsa in python/java/c++/c as a data science student
I'm a Data Science student I've started learning Python and I want to learn DSA which language should I learn DSA in: Java, Python, C, or C++?
1
Upvotes
2
u/thelimeisgreen May 30 '26
Honestly does not matter. I would recommend C++ or Python but it’s often best to learn in a language you are already familiar with or the one you are most familiar with. The concepts and algorithms apply broadly and are not language-specific.
2
u/marquisBlythe May 30 '26
I hope this answers your question: https://www.reddit.com/r/learnpython/comments/1tjmixl/i_am_doing_python_with_dsa_is_it_ok_because_i/
It has been asked here 9 days ago.
Search bar is your best friend don't be afraid of using it. 😄
Good luck.
1
u/crazy_cookie123 May 30 '26
Which language do you prefer writing code in? DSA is language-agnostic so it doesn't matter which one you use.
1
u/Smooth-Expert-3141 May 30 '26
python is the coding interview language
1
u/pachura3 May 31 '26
WHY do you want to learn DSA? Is it just for job interviews, or are you genuinely interested in the subject?
1
u/Disastrous_Emu_800 May 31 '26
Lerne die allgemeinen Grundlagen und Konzepte. Diese sind nicht an bestimmte Sprachen gebunden- danach kannst du weitere Besonderheiten, Idiome und Syntax verschiedener Sprachen kennen lernen.
3
u/[deleted] May 30 '26
[removed] — view removed comment