Jump to ratings and reviews
Rate this book

Learning JavaScript Data Structures and Algorithms

Rate this book
About This Book
Learn how to use the most used data structures such as array, stack, list, tree, and graphs with real-world examples
Get a grasp on which one is best between searching and sorting algorithms and learn how to implement them
Follow through solutions for notable programming problems with step-by-step explanations

Who This Book Is For
If you are a JavaScript developer or someone who has basic knowledge of JavaScript, and want to explore its optimum ability, this fast-paced book is definitely for you. Programming logic is the only thing you need to know to start having fun with algorithms.

In Detail
A data structure is a particular way of organizing data in a computer to utilize resources efficiently. Data structures and algorithms are the base of every solution to any programming problem.

This book begins by covering the basics of the JavaScript language and then moves on to discuss the most important data structures such as array, queue, stack, and linked list. You will also gain an in-depth knowledge of how hash tables and set data structure function. After this, you will be taught what trees are, and how to use the binary tree and the binary search tree.

In subsequent chapters, you will learn about graphs, DFS, and BFS. Finally, we will round off by learning how to differentiate between various searching and sorting algorithms such as sequential search, binary search, quick sort, bubble sort, and so on, and how to implement them. Towards the end of the book, you will also be introduced to dynamic programming.

205 pages, ebook

Published October 1, 2014

68 people are currently reading
194 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.
30 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.
50 reviews7 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 reviews22 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.