Jump to ratings and reviews
Rate this book

Learning JavaScript Data Structures and Algorithms: Write Complex and Powerful Code By Diving Deep Into Classic JavaScript Data Structures and Algorithms

Rate this book
Key Features Implement 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 in ES 8. Develop abstract data types to extend JavaScript into a more flexible and powerful programming language Book Description

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. With this book you will learn to write complex and powerful code using the latest ES 8 features.

This book begins by covering basics of the JavaScript language and introducing ECMAScript 8, before gradually moving on to the most important data structures such as array, queue, stack, and linked list. 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 learn Declare, initialize, add, and remove items from array, stack, and queue. Create and use linked lists, doubly linked lists and circular linked lists. Store unique elements with hash table, dictionaries, and set. Use the binary tree and binary search tree. Get the knack of using algorithms such as DFS (Depth-first Search) and BFS (Breadth-First Search) for the most complex data structures Sort data structures using a range of algorithms such as bubble sort, selection sort, insertion sort, merge sort and quick sort. Search elements in data structures using sequential sort and binary search. About the Author

Loiane Groner has over 10 years of experience in developing enterprise applications. She has worked at multinational companies, such as IBM, and nowadays she works as Software Development Manager at a financial institution, where she manages overseas solutions. Her areas of expertise include Java, Sencha technologies (Ext JS), and hybrid mobile development with PhoneGap and Ionic.

She is passionate about technology, and she has dedicated herself to spreading knowledge in the software development community through her blog, as a guest speaker in IT conferences, and also as a guest professor in university extension courses.

While at university, she worked as teacher's assistant for 2 years for the Algorithms, Data Structures, and Computing Theory classes. She represented her university at the ACM International Collegiate Programming Contest – Brazilian Finals (South America Regionals) and also worked as Student Delegate of SBC (Brazilian Computing Society). She won a merit award in her Senior year for being one of top three students with better GPAs in the Computer Science department and has also graduated with honors.

Loiane is also the author of the books Ext JS 4 First Look, Mastering Ext JS, Mastering Ext JS - Second Edition, Sencha Architect App Development, Learning JavaScript Data Structures and Algorithms, and JavaScript

426 pages, Paperback

Published April 30, 2018

70 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 reviews103 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 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 reviews24 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.