+ 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

4th May 2025, 12:38 PM
farhan
farhan - avatar
5 odpowiedzi
+ 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.
4th May 2025, 1:43 PM
BroFar
BroFar - avatar
+ 4
I think python or C++ are good for that. Javascript too.
4th May 2025, 2:51 PM
Sees HM
Sees HM - avatar
+ 2
there is no "the best" language. possible you need one of these: python, r, julia
4th May 2025, 1:20 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 2
The best language is C#
21st May 2025, 4:39 PM
Shadow
Shadow - avatar