Jump to ratings and reviews
Rate this book

Learning JavaScript Data Structures and Algorithms: Hone Your Skills By Learning Classic Data Structures and Algorithms in JavaScript

Rate this book
Hone your skills by learning classic data structures and algorithms in JavaScript

Key FeaturesUnderstand common data structures and the associated algorithms, as well as the context in which they are used.Master existing JavaScript data structures such as array, set and map and learn how to implement new ones such as stacks, linked lists, trees and graphs.All concepts are explained in an easy way, followed by examples.Book DescriptionThis book begins by covering basics of the JavaScript language and introducing ECMAScript 7, before gradually moving on to the current implementations of ECMAScript 6. You will gain an in-depth knowledge of how hash tables and set data structure functions, as well as how trees and hash maps can be used to search files in a HD or represent a database. This book is an accessible route deeper into JavaScript. Graphs being one of the most complex data structures you'll encounter, we'll also give you a better understanding of why and how graphs are largely used in GPS navigation systems in social networks.

Toward the end of the book, you'll discover how all the theories presented by this book can be applied in real-world solutions while working on your own computer networks and Facebook searches.

What you will learnDeclare, initialize, add, and remove items from arrays, stacks, and queuesGet the knack of using algorithms such as DFS (Depth-first Search) and BFS (Breadth-First Search) for the most complex data structuresHarness the power of creating linked lists, doubly linked lists, and circular linked listsStore unique elements with hash tables, dictionaries, and setsUse binary trees and binary search treesSort data structures using a range of algorithms such as bubble sort, insertion sort, and quick sortTable of ContentsJavaScript-A Quick OverviewArraysStacksQueuesLinked ListsSetsDictionaries and HashesTreesGraphsSorting and Searching AlgorithmsPatterns of AlgorithmAlgorithm Complexity

471 pages, Kindle Edition

Published June 23, 2016

71 people are currently reading
193 people want to read

About the author

Loiane Groner

14 books8 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
38 (45%)
4 stars
30 (35%)
3 stars
14 (16%)
2 stars
2 (2%)
1 star
0 (0%)
Displaying 1 - 10 of 10 reviews
Profile Image for Juvoni.
98 reviews102 followers
June 28, 2016
A simple and lean overview of the fundamental Computer Science Data Structures. The author gets straight to the point in each chapter, and there is very little fluff. This can be used as a reference, and is also good for introductory lessons of data structures and algorithms applied using javascript. This book is not deep, so if you're looking to get into intermediate or advanced algorithms this may not be your book. Some of the example algorithms are in code samples that the book links towards. I liked the visual illustrations of how various algorithms worked.
Profile Image for Monika Venckauskaite.
30 reviews1 follower
September 21, 2019
This is a great book if you want to delve in the world of data structures and algorithms. From simple stacking, to solving the optimal route problem - this book will guide you through. You will learn to solve the classical problems that often appear in everyday programming challenges and job interviews. The theory is not too dense and the amount of practical examples is satisfying.
If you are interested in JavaScript, I do recommend this read: good for beginners and more adjusted programmers who are interested in algorithms.
Profile Image for Jason Martin.
14 reviews1 follower
April 15, 2016
Best Javascript algorithms source I have come across.

While I was able to write some of my own algorithms more efficiently after some trial and error, this was still the best JS logic resource I have ever seen.
Profile Image for Adam Hegedus.
31 reviews5 followers
December 17, 2018
The author wrote that she has more than 8 years of experience and then the first example uses " instead of '. No comment.

It is very basic in some sections and presents the examples with the things you have to avoid in real life. It's a bad practice.

The book has some general data structures and graph algorithms you may be familiar with. It feels like it was written for academic studies -> it means you won't use it in real life ever. I don't recommend this one only if you are curious and have free time to waste.
Profile Image for Danial Kalbasi.
51 reviews6 followers
November 7, 2017
It's a good introduction to the data structure and the popular algorithm. Though I got this more for the algorithm chapters, but it isn't comprehensive enough, especially the last few chapters. The pages increased the book details should be updated!
Profile Image for Pavel.
60 reviews1 follower
July 18, 2018
A middle of the road solution. Not really a book on JavaScript and not the best on algorithms and data structures. Has some valuable parts and does provide context for data structures in javascript, but I am not sure who it is written for.
Profile Image for Hercules Merscher.
37 reviews4 followers
June 16, 2020
Loiane's book is one of the best introductory books about the topic. The chapter about graphs is just amazing!
If you thinking about diving into the topic of data structures and algorithms, I can't recommend enough this book.
Profile Image for David.
134 reviews23 followers
April 9, 2015
A great book and a great language for new programmers to cut their teeth on. Good review for experienced JavaScript developers and there are several useful things about JS data structures you'll realize you didn't know. It loses a bit of it's usefulness for the seasoned JS developer in the last two chapters, but most of the book is great stuff and a handy reference to keep at your desk.
Profile Image for Ahmed.
27 reviews9 followers
July 2, 2016
Dry, dense, and difficult -- for a self-taught developer like myself data structures are far from reading material. That said, this book did a good job of giving me the high points, while leaving plenty for someone interested in digging deeper.
Displaying 1 - 10 of 10 reviews

Can't find what you're looking for?

Get help and learn more about the design.