Jump to ratings and reviews
Rate this book

JavaScript Data Structures and Algorithms: An Introduction to Understanding and Implementing Core Data Structure and Algorithm Fundamentals

Rate this book
1. Big-O Notation 2. Unique Parts 3. JavaScript Numbers 4. JavaScript Strings 5. JavaScript Arrays 6. JavaScript Objects 7. JavaScript Memory Management 8. Recursion 9. Sets 10. Searching and Sorting 11. Hash Tables 12. Stacks and Queues 13. Linked Lists 14. Caching 15. Trees 16. Heaps 17. Graphs 18. Advanced Strings 19. Dynamic Programming 20. Bit Manipulation

380 pages, Paperback

Published January 26, 2019

39 people are currently reading
52 people want to read

About the author

Sammie Bae

2 books1 follower

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
5 (17%)
4 stars
10 (35%)
3 stars
10 (35%)
2 stars
2 (7%)
1 star
1 (3%)
Displaying 1 - 4 of 4 reviews
Profile Image for Weam Adel.
2 reviews3 followers
March 21, 2021
Good book, but a a lot of examples lack the proper explanation and some are with no explanation at all. Also there are some inaccurate code.
Profile Image for Edison Pebojot.
1 review
October 4, 2020
I like the book, I read almost every letter, the explanation is correct, but when it comes to code, when I test it in my code editor, the code is wrong and does not work correctly, like in the binary search in Chapter 10, there is something wrong with the while loop , I did PR on GitHub and I fixed it.

In Chapter 4, the writing code for RSA Encryption is a bit vague, he was right but when you study the code carefully it is a bit far from what he said so it is a bit confusing, for example, he explains the private key generation key and public key to encrypt the message using the public key, but when you decrypt the message it comes out differently when using the private key.

I do not say he is wrong, but he did not mention the library to handle the large number, for example, we have a secret message of 2, higher than that will result to incorrect decryption. JavaScript internally uses floating point operation. If the numbers get big you should not be surprised if the answer is incorrect. This is because the prime factorization of large numbers takes time to compute. Today’s standard is 4,096-bit prime product.

The only downside is, he did not mention the library to handle such a large number, for example, there is a big integer library that developers use to handle RSA Encryption to provide the correct result.

But in general, it is good because in the following chapters I learned a lot of concepts, especially in the string searching algorithm in Chapter 18, Classical Dynamic Programming Examples in Chapter 19, and most recently, Chapter 20, the Bit Manipulation especially in Number Operators.
Profile Image for Dayton Outar.
113 reviews5 followers
January 17, 2023
Straightforward, simple and concise approach to explain basic data structures and algorithms.

Some implementations may not be the most appropriate to the time complexity and for this I took off a star. Nonetheless, this is a very good treatment of understanding the foundations of solving problems using computer instructions.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.