Goodreads helps you keep track of books you want to read.
Start by marking “Data Structures and Algorithms with JavaScript” as Want to Read:
Data Structures and Algorithms with JavaScript
Enlarge cover
Rate this book
Clear rating
Open Preview

Data Structures and Algorithms with JavaScript

3.58  ·  Rating details ·  78 ratings  ·  14 reviews

As an experienced JavaScript developer moving to server-side programming, you need to implement classic data structures and algorithms associated with conventional object-oriented languages like C# and Java. This practical guide shows you how to work hands-on with a variety of storage mechanisms—including linked lists, stacks, queues, and graphs—within the constraints o

Kindle Edition, 250 pages
Published March 10th 2014 by O'Reilly Media (first published January 1st 2014)
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Data Structures and Algorithms with JavaScript, please sign up.

Be the first to ask a question about Data Structures and Algorithms with JavaScript

This book is not yet featured on Listopia. Add this book to your favorite list »

Community Reviews

Showing 1-30
Average rating 3.58  · 
Rating details
 ·  78 ratings  ·  14 reviews

More filters
Sort order
Start your review of Data Structures and Algorithms with JavaScript
Mar 05, 2015 rated it liked it  ·  review of another edition
Even though it's a great book for explaining Data Structures and Algorithms different topics, it has all sorts of bugs in the code written. It was a good exercise fixing the bugs and writing my own functions but was annoying sometimes when I didn't quiet understand the explanation and wanted to understand it better from the code. Sometimes the bugs were major ones. ...more
Mar 14, 2014 rated it liked it
Short version: using JavaScript, McMillan introduces a bunch of fundamental computer science concepts around how data are shaped, and how we work with those data (e.g., searching and sorting). The choice of JavaScript is a practical one because of its ubiquity, but it's probably not the best choice for most of these. He does some things that are strange (and a few that are arguably "wrong") -- but overall, it's decent, especially if you're a professional web developer with a few years experience ...more
Colle Owino
Jun 28, 2020 rated it really liked it  ·  review of another edition
This book is really short, It doesn't go into details about how one will actually solve problems using the algorithms. If you are looking for a book with code that implements the data structures along with some simple tests to prove that its working then this is the book for you. ...more
Edward Moran
Mar 20, 2018 rated it it was amazing  ·  review of another edition
Shelves: math-science
Jean-Rémy Duboc
Good book to learn the very basics, however it has multiple errors, and really should use a more modern JS environment such as Node.JS, instead of Mozilla SeaMonkey.
Moses Wong
May 07, 2018 rated it really liked it  ·  review of another edition
The introduction of JS Shell to try out the Java script example helps me to learn Java Script in a more efficient way without relying on browser to look at the output.
Daniel Couper
For a web developer versed in JS, but without a CS background, this is...useful. To a degree. The actual overall, high-level content of the book is good - the explanations of the structures are clear, the supporting diagrams are fine, and the code works. But there's a few fairly big caveats. The code is strangely structured, and often seems to ignore JS best practices. It seems to completely ignore functional idioms. It reimplements some native structures in slightly baffling ways (eg Set). It d ...more
Feb 13, 2015 rated it it was ok  ·  review of another edition
It wasn't a really good book. The author's code is very ugly and messy all around. A lot of his examples tend to be rather counter-intuitive which is just really annoying. Not to mention the platform the author suggests for readers to run their code on (spidermonkey) is a horrid choice which is rarely used. All in all, this book seems to be a good skim-through if you want to refresh your algorithmic knowledge and you already have some experience with programming in JavaScript. This book is defin ...more
Daniel Aguilar
This book is ok as a shallow approach to the most basic data structures and algorithms and their implementation in javascript. However, the book has many typos (I read the first edition, probably this was fixed in later revisions), both in the text and in the examples, making it difficult to focus on the algorithms themselves. If your are an experienced programmer looking for a quick way of updating old knowledge/skills, the typos may not be too much of a problem. Otherwise you'd probably be bet ...more
Marshall Upshur
This could be a great refresher and intro to those new to/ learning JavaScript. The biggest drawback though, is the tons of erroneous code and logic errors in the examples. They are easy to catch if you are experienced, but for a novice they could greatly mislead. DEFINITELY read the errata on the book if you don't immediately understand something. ...more
David Sergey
Quite solid book but requires research on part of user. It allowed me to refresh some of the knowledge in regards to data structures that I didn't use for a long time since I switched to JavaScript.

Code seems and naming conventions in source code are inconsistent, however source code explained well.
Evren Yortuçboylu
a good read.
Not bad, but it covers only very basic data structures and algorithms. I was hoping for something a little bit more advanced
Emanual Jade
As an introduction to data structures and algorithms this book was not bad. It falls short when it comes to the JavaScript with quite a few code errors and lack of real world best practices.
Eduardo Lundgren
rated it it was amazing
Apr 22, 2014
Arimatea A. Castro
rated it it was ok
Jul 10, 2018
rated it liked it
Mar 28, 2016
Kevin Huang
rated it really liked it
Mar 28, 2021
Justin Anderson
rated it liked it
Dec 08, 2018
rated it it was ok
Jan 05, 2015
José Rodríguez Texidor
rated it it was amazing
Feb 10, 2020
Nikolai Dunkel
rated it really liked it
Nov 25, 2018
Giuseppe Sorrentino
rated it really liked it
Mar 21, 2016
Dash Williams
rated it liked it
Nov 08, 2016
rated it it was amazing
Aug 25, 2015
Modesto Figuereo
rated it really liked it
Feb 07, 2021
rated it really liked it
May 04, 2021
Jalal Azimi
rated it really liked it
Dec 19, 2018
Steve Taylor
rated it liked it
Jun 04, 2015
rated it liked it
Jun 06, 2017
« previous 1 3 next »
There are no discussion topics on this book yet. Be the first to start one »

Readers also enjoyed

  • You Don't Know JS: Scope and Closures (You Don't Know JS, #2)
  • Dragon Ball Z, Vol. 10: Goku Vs. Freeza
  • Dragon Ball Z, Vol. 9: The Wrath of Freeza (Dragon Ball Z, #9)
  • Functional JavaScript: Introducing Functional Programming with Underscore.js
  • Learning Javascript Design Patterns
  • Case Closed, Vol. 1 (Meitantei Conan #1)
  • Building Microservices: Designing Fine-Grained Systems
  • 97 Things Every Programmer Should Know: Collective Wisdom from the Experts
  • JavaScript with Promises: Managing Asynchronous Code
  • The Personal MBA: Master the Art of Business
  • REST API Design Rulebook
  • Programming JavaScript Applications: Robust Web Architecture With Node, HTML5, and Modern JS Libraries
  • Toxic Parents: Overcoming Their Hurtful Legacy and Reclaiming Your Life
  • Grokking Algorithms An Illustrated Guide For Programmers and Other Curious People
  • Trading in the Zone: Master the Market with Confidence, Discipline, and a Winning Attitude
  • The Clean Coder: A Code of Conduct for Professional Programmers
  • The Truth about Day Trading Stocks: A Cautionary Tale about Hard Challenges and What It Takes to Succeed
  • Subconscious Mind Power: How to Use the Hidden Power of Your Subconscious Mind
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »

News & Interviews

Nature, in Her infinite awesomeness, can provide solace even when you’re stuck in the house. As a matter of fact, the numbers suggest that...
80 likes · 12 comments