Best Language for DSA | GeeksforGeeks

preview_player
Показать описание
Get to know which is the best programming language for learning DSA from our very own Sandeep Jain Sir.

------------------------------------------------------------------------------------------------------------------

💻 Our courses :

This video is contributed by
Please Like, Comment and Share the Video among your friends.

📲 Install our Android App:

If you wish, translate into the local language and help us reach millions of other geeks:

------------------------------------------------------------------------------------------------------------------

Follow On Our Other Social Media Handles:

Also, Subscribe if you haven't already! :)

#gfg #geeksforgeeks #GFG #sandeepjain
Рекомендации по теме
Комментарии
Автор

1st. Love babbar+ Striver
2nd . Rest coding platform

bhuteshkumarmeher
Автор

C++ is the best language for DSA, reason?
Well, C language from which C++ is derived from, had only arrays and variables to store data, hence programmers had to use data structures extensively such as heap or trees to perform tasks such as sorting. C++ has a few added benefits such as classes, which you can use to create Data Structures. Also, if you know DS in C++ you can create same DS on any other language such a Java or Python, just by changing a lil bit of syntax, say for example changing "cout" to "System.Out.Println " in Java or removing " ; " and " {} " for Python.

Coming to algorithm:
Although same algorithm can be written in any language, but for learning and easy understanding.
Again C++ is the best, most pseudo code for algorithms on internet even the legacy ones, you'll find them in C or C++.
Time and Space complexity analysis on C and C++ programs are much easier.
since the language is statically typed. you know for sure that there isn't going to be any type error that you'll face.

PS: I learned DSA on both C++ and Python, felt C++ was much better for Complexity analysis.
Hence, if you're preparing for GATE, give C++ a try.

PiyushMohanta
Автор

I guess python and java are going to be the top preferred languages compared to c and c++ which has pointers which makes the code little difficult

Dani_
Автор

Go with Java you’ll have more benefits, because you can later switch to development as well

saifsheikh
Автор

But i am learning java script 😂😂 that mean no future 😂😂 i left mechanical engineering again i am in wrong area

channelk
Автор

If I learn dsa i. Python sonthere is a scope for selection in coding round for placement

manasvigupta
Автор

Python se toh aur bhi bad practices bd jayengi lol. Library inport krke aadha kaam ho jata h dsa me toh 😂

zanies
Автор

So what about c++ dsa no scope in industry 🥲🥲🤣

crazyboyrish
Автор

Bhai music hatao, subtitles lagao please

ShivamGupta-qhgo
Автор

JavaScript is also the best language for DSA😀

jnsudhir