+ 2
What is the best language to learn dsa?
Does the language matter when you are starting out to learn dsa? I picked up js
5 Answers
+ 5
&farhan js is good choice but I would fundamentally look at C++.
Here is why:
C++ is favored for DSA due to performance, powerful STL, and memory control (pointers), aiding deep understanding & competitive programming, though it has a steeper learning curve vs. JS/Python. The core DSA logic is language-agnostic, but C++ offers unique advantages.
+ 4
I think python or C++ are good for that. Javascript too.
+ 2
there is no "the best" language.
possible you need one of these: python, r, julia
+ 2
The best language is C#