DEV Community

loading...
Cover image for In you opinion which language is perfect for learning Data structures and Algorithms ?

In you opinion which language is perfect for learning Data structures and Algorithms ?

Aayushi Sharma
Machine Learning Student.
・1 min read

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?

Discussion (3)

Collapse
rakshakannu profile image
Raksha Kannusami

I'm using Java! I think any object-oriented language should be fine! 😄

Collapse
dhanushkadev profile image
Dhanushka madushan

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.

Collapse
rakshakannu profile image
Raksha Kannusami

Exactly! For some reason, I feel java is easier when it comes to solving complex problems. So it completely depends on the individual.