Do I need to learn C/C++ before starting Data Structures and Algorithms?

0
0
Asked By CreativeFox98 On

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

Answered By CodeNinja22 On

Just look for "data structures and algorithms in JavaScript full course" and you'll find loads of resources tailored for JavaScript!

Answered By CuriousCat77 On

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++.

Answered By TechWizard42 On

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!

Answered By JSBro67 On

I learned DSA using JavaScript, and the concepts made sense regardless of the language of the tutorial. Just focus on understanding the principles!

Answered By DevSage99 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.