Data structures and algorithms are most important part of developer's life. It's consider as a base or fundamental of CS.
In you opinion which language is perfect for learning Data structures and Algorithms ?
I will prefer C++ because
- STL library.
- Inbuilt data structure.
- Faster execution speed.
- Community Support for DSA In c++
- OOP Concept
Share your reason to choose particular language?
Top comments (3)
I'm using Java! I think any object-oriented language should be fine! 😄
Yeah. Java has OOP features and that can be easily used to build any type of Data structure. But regarding learning basic concepts about data structures I would suggest using either C or C++. Since both of the languages much clear about using references to build basic data structures. Therefore it is easy to learn how everything works at a lower level.
Exactly! For some reason, I feel java is easier when it comes to solving complex problems. So it completely depends on the individual.