Data Structures and Algorithms with JavaScript

Data Structures and Algorithms with JavaScript If you re using JavaScript on the server side you need to implement classic data structures that conventional object oriented programs such as C and Java provide This practical book shows you how to

  • Title: Data Structures and Algorithms with JavaScript
  • Author: Michael McMillan
  • ISBN: 9781449364939
  • Page: 294
  • Format: Paperback
  • If you re using JavaScript on the server side, you need to implement classic data structures that conventional object oriented programs such as C and Java provide This practical book shows you how to use linked lists, stacks, queues, and graphs, as well as classic algorithms for sorting and searching data in your JavaScript programs.Each chapter includes at least one rIf you re using JavaScript on the server side, you need to implement classic data structures that conventional object oriented programs such as C and Java provide This practical book shows you how to use linked lists, stacks, queues, and graphs, as well as classic algorithms for sorting and searching data in your JavaScript programs.Each chapter includes at least one real world application of the data structure or data structures discussed, along with exercises that help you further explore the practical application of various data structures and algorithms.Implement data structures and algorithms within the constraints of JavaScriptExplore real world applications to learn how JavaScript uses these data structuresGet a helpful JavaScript programming overviewLearn methods for handling advanced algorithms

    One thought on “Data Structures and Algorithms with JavaScript”

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

    2. 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 o [...]

    3. For a web developer versed in JS, but without a CS background, this iseful. 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 doesn' [...]

    4. 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 [...]

    5. 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 [...]

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

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

    8. Not bad, but it covers only very basic data structures and algorithms. I was hoping for something a little bit more advanced

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

    Leave a Reply

    Your email address will not be published. Required fields are marked *