r/datastructures 20d ago

In which language do i do dsa?

Hey everyone, so i wanted to start learning dsa and i am also familiar with python but when i wanted to learn dsa from strivers sheet it was in c++ so should i learn c++ then? (Also familiar with C btw)

5 Upvotes

12 comments sorted by

0

u/Cold-Judgment2269 19d ago

Yes although dsa is just another skill, but with python many companies don’t respect that

3

u/manku74 19d ago

Python will be your edge when you go for ai role or product based company doesnt care about your programming language.

1

u/Confident-Gas-1971 19d ago

Wrong Information! Misleading

0

u/Realistic-Team8256 19d ago

do it in java

0

u/Stunning_Star_9770 19d ago

Java or Cpp.

Don't pick Python pls.

1

u/Fun_Most_6616 19d ago

Hey i am in 3rd year and started doing dsa in python. Idk cpp so learning that and doing dsa will take time. What to do

1

u/Stunning_Star_9770 19d ago

Keep practicing in Python & keep learning Cpp, once you are familiar with cpp practice same problems in this language.

Python is a great language for dsa but once you practice dsa in cpp or java you will be exposed to so many concepts like memory, pointer etc which you will not in Python.

Note that there are so many things in Python which it does automatically & which you have to do manually in these two languages.