Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.

  • Apple
  • Android
  • Windows Phone
  • Android

Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.

Kindle-Preis: EUR 19,46
inkl. MwSt.

Diese Aktionen werden auf diesen Artikel angewendet:

Einige Angebote können miteinander kombiniert werden, andere nicht. Für mehr Details lesen Sie bitte die Nutzungsbedingungen der jeweiligen Promotion.

An Ihren Kindle oder ein anderes Gerät senden

An Ihren Kindle oder ein anderes Gerät senden

Facebook Twitter Pinterest
Data Structures and Algorithms with JavaScript von [McMillan, Michael]

Data Structures and Algorithms with JavaScript Kindle Edition

Alle Formate und Ausgaben anzeigen Andere Formate und Ausgaben ausblenden
Neu ab Gebraucht ab
Kindle Edition
"Bitte wiederholen"
EUR 19,46

Länge: 247 Seiten Sprache: Englisch

Unsere Schatzkiste
Entdecken Sie monatlich Top-eBooks für je 1,99 EUR. Exklusive und beliebte eBooks aus verschiedenen Genres stark reduziert.



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 of the JavaScript environment.

Determine which data structures and algorithms are most appropriate for the problems you’re trying to solve, and understand the tradeoffs when using them in a JavaScript program. An overview of the JavaScript features used throughout the book is also included.

This book covers:

  • Arrays and lists: the most common data structures
  • Stacks and queues: more complex list-like data structures
  • Linked lists: how they overcome the shortcomings of arrays
  • Dictionaries: storing data as key-value pairs
  • Hashing: good for quick insertion and retrieval
  • Sets: useful for storing unique elements that appear only once
  • Binary Trees: storing data in a hierarchical manner
  • Graphs and graph algorithms: ideal for modeling networks
  • Algorithms: including those that help you sort or search data
  • Advanced algorithms: dynamic programming and greedy algorithms

Über den Autor und weitere Mitwirkende

Michael McMillan is an instructor of Computer Information Systems at Pulaski Technical College in North Little Rock, AR. He is also an adjunct instructor of Information Science at the University of Arkansas at Little Rock. Before moving to academia, he was a programmer/analyst for Arkansas Children's Hospital, where he worked in statistical computing and data analysis.


  • Format: Kindle Edition
  • Dateigröße: 3787 KB
  • Seitenzahl der Print-Ausgabe: 252 Seiten
  • Gleichzeitige Verwendung von Geräten: Keine Einschränkung
  • Verlag: O'Reilly Media; Auflage: 1 (10. März 2014)
  • Verkauf durch: Amazon Media EU S.à r.l.
  • Sprache: Englisch
  • ASIN: B00IV3J23Y
  • Text-to-Speech (Vorlesemodus): Aktiviert
  • X-Ray:
  • Word Wise: Nicht aktiviert
  • Verbesserter Schriftsatz: Nicht aktiviert
  • Durchschnittliche Kundenbewertung: Schreiben Sie die erste Bewertung
  • Amazon Bestseller-Rang: #403.276 Bezahlt in Kindle-Shop (Siehe Top 100 Bezahlt in Kindle-Shop)

  •  Ist der Verkauf dieses Produkts für Sie nicht akzeptabel?

Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?


Es gibt noch keine Kundenrezensionen auf
5 Sterne
4 Sterne
3 Sterne
2 Sterne
1 Stern

Die hilfreichsten Kundenrezensionen auf (beta) HASH(0x98815c54) von 5 Sternen 13 Rezensionen
26 von 26 Kunden fanden die folgende Rezension hilfreich
HASH(0x987c8ec4) von 5 Sternen Careless Mistakes 14. April 2014
Von Pat J Ryll - Veröffentlicht auf
Format: Taschenbuch Verifizierter Kauf
This is very disappointing. I have had the book for about 3 hours now and I have noticed several mistakes. I won't list them all, but suffice it to say Figure 12-1 of the Bubble Sort has numerous errors in just one chart: The '77' is circled instead of the '2', 59 in the first row is where 58 should be. I say all of this not to be ticky: I think the book will help me and I have already learned from it. What irks me though are these careless mistakes: in an environment where (let's face it), one can get plenty of free content (which is a godsend), I expect something extra if I am going to pay a premium for knowledge. Thus, when I have to spend extra time puzzling out mistakes, not only is it a waste of time, but it calls into question other conclusions and/or final answers the author has made: if something doesn't make sense, is it an error or just a difficult concept - the bubble sort illustration is a perfect (no pun intended) illustration of this: am I confused because of an error or because of comprehension?
I mean no disrespect to the author, but I am getting frustrated by computer books I buy (and I don't have a lot of money) that are riddled with careless mistakes. On page 14, there is a mistake where print(Array.isArray(number) ) is typed instead of numbers. This example is benign compared to the first one I described above, but again, it calls into question other things.
20 von 20 Kunden fanden die folgende Rezension hilfreich
HASH(0x98771f48) von 5 Sternen Hindered by many, many mistakes 3. Juni 2014
Von Joshua Cunningham - Veröffentlicht auf
Format: Kindle Edition
The explanation is good and the exercises are helpful but I've found several critical mistakes in the first few chapters alone. Typos, incorrect implementations, infinite loops, and unclear instructions would be very difficult for someone without solid experience in JavaScript to debug. The examples are very important for instruction and, when they're incorrect, you can spend a lot of time trying to figure out if you're doing something wrong or if the book is incorrect. Most of the time, it's the book.
18 von 18 Kunden fanden die folgende Rezension hilfreich
HASH(0x98771dc8) von 5 Sternen like CS 101 with JS 30. März 2014
Von R. Friesel Jr. - Veröffentlicht auf
Format: Kindle Edition
Mike McMillan's "Data Structures and Algorithms with JavaScript" uses JavaScript as a vehicle for introducing a number of fundamental computer science concepts. It reminds me a little bit of Tom Stuart's "Understanding Computation" -- that is, it's a book about CS topics that targets people without a CS background. One might consider both books to be a gentle introduction to computer science, or "computer science for the layperson".

At a high level, McMillan walks us through some of these different data structures (e.g., sets, binary trees) and algorithms (binary search, quick sort). These are topics that we might have encountered in introductory computer science courses (had we made it all the way through our introductory computer science courses) -- he just happens to have chosen JavaScript as the illustrative language here. And there are some good reasons for choosing JavaScript: it is fairly ubiquitous, and it's comparatively easy to start programming with JavaScript as opposed to many other languages. There's also this latent assertion that there are many people who are doing professional software development (with JavaScript) who otherwise do not have CS backgrounds.

To this point, McMillan is largely successful. He is able to demonstrate *how* to implement these data structures and algorithms using JavaScript, even if it isn't always clear *why* you would use JavaScript. He clearly articulates the traditional use-cases for each of the data structures and algorithms, but sometimes we're still left wondering why we would use JavaScript to solve this problem (e.g., as opposed to a language that already has sets built in). Also, some of his implementations appear to duplicate built-in objects (e.g., his `HashMap` arguably overlaps with JavaScript's built-in `Object`) or else they're implemented... strangely? (e.g., his `Dictionary` implementation uses an `Array` under the hood for no good reason)

That being said, McMillan does a great job of explaining each data structure, what shape they are, why you would want to use one over another, and how they align with certain types of problems. (Same goes for his discussion of search and sort algorithms.) However, despite how strong these discussions are, it also seems to go against the current trend in JavaScript development. As I read through many of these chapters, I thought to myself: "Wouldn't you just use a function for that?" Granted, the OO approach gives us those functions (as methods) just beneath the façade of the object itself -- but still, those thoughts were there: "Wouldn't you just use a function?" and "Why do this in JavaScript when there are other languages that have first-class support for this?"

Overall, I enjoyed McMillan's book. I found it was a good introductory level instructional text for some of these CS concepts (even if the choice of JavaScript is a bit of a novelty) -- but I wouldn't consider it a practical manual of what to do "in the field". If you're doing software development in JavaScript and you're trying to fill in the gaps of your computer science background, I would recommend this.
19 von 20 Kunden fanden die folgende Rezension hilfreich
HASH(0x989409f0) von 5 Sternen I should have read the errata before I purchased 4. Juni 2014
Von Robby - Veröffentlicht auf
Format: Taschenbuch Verifizierter Kauf
O'reilly has "unconfirmed" errata for this book... Seriously?

This book has so many code errors it's like the author just wrote it "off the cuff".

Ex: Page 22

var names = ["David", "Mike", "Cynthia", "Clayton", "Bryan", "Raymond"];

Shouldn't this be print(names); ???

The Author overlooked SO many small things it makes you doubt the entire thing. It's a bummer because the premise of the book is great but the execution (errors, typos) is reediqulus...
9 von 10 Kunden fanden die folgende Rezension hilfreich
HASH(0x9896b4c8) von 5 Sternen Concepts are good but execution needs work. 4. Juni 2014
Von Ivan Storck - Veröffentlicht auf
Format: Kindle Edition
This book is solid on the CS theory, but it isn't current with idiomatic JavaScript as it is used in V8. It uses SpiderMonkey, which is Firefox's JS engine, which is not as common as NodeJS. It really should be updated to use V8 (Chrome and NodeJS). Still, this is one of the best/only Data Structures and Algorithms books available for JS, and I wouldn't ignore it if you are coming up to speed on these concepts for a job interview, or to deepen your knowledge of CS via JavaScript.
Waren diese Rezensionen hilfreich? Wir wollen von Ihnen hören.
click to open popover