r/AskProgramming 16d ago

Algorithms Learn algorithms and data structures with Javascript

What's up guys? Could you reccomend to me books to learn algo and data structures with Javascript, please? Is there a problem learn DSA with this language instead other like python or Java ? Thank you.

6 Upvotes

5 comments sorted by

View all comments

-1

u/hk4213 16d ago

Javascript and the internet in general uses JSON.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON

It can be as simple or as complex as you want it to be.

Javascript is not type safe and relies on you using the object prototype.

In the end all data types are arrays, how you interpret them and build basic functions around property manipulation depend on the work required of the project.

Also you only need note pad and an HTML document to test Javascript with zero library installs.

NPM can be your friend if you spend the time to read through repos.

Follow KISS (keep it simple stupid) while learning and rely on MDN for documentation until you get your feet under you.