I'm considering diving into Data Structures and Algorithms (DSA), but the problem is I only know JavaScript. Most of the resources I've come across are teaching DSA in C/C++. Should I first learn C/C++ before I start with DSA, or can I tackle it using JavaScript?
5 Answers
Just look for "data structures and algorithms in JavaScript full course" and you'll find loads of resources tailored for JavaScript!
Many colleges start with C/C++, but honestly, Python is way easier for beginners to pick up. If you have the option, maybe check out Python before jumping into C/C++.
I've noticed that a lot of DSA tutorials are actually in Python. But you should definitely learn and practice DSA in the language you're most comfortable with or plan to use for projects. If that's JavaScript, go for it!
I learned DSA using JavaScript, and the concepts made sense regardless of the language of the tutorial. Just focus on understanding the principles!
DSA concepts aren't tied to a specific language. It's best to learn it in the programming language you'll actually use. Don't feel pressured to switch to C/C++.
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String