What is the best programming language for data structures and algorithms | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the best programming language for data structures and algorithms

I just finished learning javascript but I realized that you can't use it for data structures and algorithms

20th Feb 2019, 6:18 PM
Israel Nwangwu
Israel Nwangwu - avatar
13 Answers
+ 8
To be more precise Phython and Ruby are good choices to play with data due to short and readable syntax. Phyton has plenty of libraries, Ruby has big numbers. They allows you to build complex algorithms in less lines. C++ can be used to implement new data structures, it has also STL library to help you. It is of course harder to deal with and to write shorter code , compared to the 2 above, but in C++ you may know a bit better what happens under the hood and thus manage resources. I think you should start with Python.
21st Feb 2019, 4:24 AM
AZTECCO
AZTECCO - avatar
+ 8
It really depends! Python may be the choice for data elaboration. I think c++ is good for structures due to its detailed class design capabilities.
20th Feb 2019, 6:30 PM
AZTECCO
AZTECCO - avatar
+ 8
As addition, there are more than thousand languages.. I've seen languages do the same task with just 4 characters of code while I had to write more than one hundred chars of bad code to do the same thing. O.o
21st Feb 2019, 4:38 AM
AZTECCO
AZTECCO - avatar
+ 6
Nice to help and have a great learn! 👍
21st Feb 2019, 12:02 PM
AZTECCO
AZTECCO - avatar
+ 3
thanks so much AZTECCO
21st Feb 2019, 6:53 AM
Israel Nwangwu
Israel Nwangwu - avatar
+ 3
your answers are really helpful
21st Feb 2019, 6:54 AM
Israel Nwangwu
Israel Nwangwu - avatar
+ 3
C++ and python is best.. You can learn C++ data structures from Geek For geeks website ☺
21st Feb 2019, 8:50 PM
Faraz Ali Arain
Faraz Ali Arain - avatar
+ 2
Faraz Ali Arain I just visited the site. The website is really helpful
21st Feb 2019, 9:16 PM
Israel Nwangwu
Israel Nwangwu - avatar
+ 2
thanks so much MoNaK and Faraz Ali Arain
21st Feb 2019, 9:17 PM
Israel Nwangwu
Israel Nwangwu - avatar
+ 2
Israel Jeremy Yes you can learn even run codes there by modifying it... You need to create some basic simple projects for a better practice and understanding.
21st Feb 2019, 9:18 PM
Faraz Ali Arain
Faraz Ali Arain - avatar
+ 2
okay Faraz Ali Arain, I will.
21st Feb 2019, 9:20 PM
Israel Nwangwu
Israel Nwangwu - avatar
+ 1
So what you're saying AZTECCO is that python is easier to understand but c++ is the best for data structures
21st Feb 2019, 1:19 AM
Israel Nwangwu
Israel Nwangwu - avatar
+ 1
I think c# or python
21st Feb 2019, 12:33 PM
MoNaK
MoNaK - avatar