These promotions will be applied to this item:
Your Memberships & Subscriptions

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer C no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera, scan the code below and download the Kindle app.
Image Unavailable
Colour:
-
-
-
- To view this video, download
A Common-Sense Guide to Data Structures and Algorithms, Second Edition 2nd Edition, Kindle Edition
鶹
Algorithms and data structures are much more than abstract concepts. Mastering them enables you to write code that runs faster and more efficiently, which is particularly important for today??s web and mobile apps. Take a practical approach to data structures and algorithms, with techniques and real-world scenarios that you can use in your daily production code, with examples in JavaScript, Python, and Ruby. This new and revised second edition features new chapters on recursion, dynamic programming, and using Big O in your daily work.
Use Big O notation to measure and articulate the efficiency of your code, and modify your algorithm to make it faster. Find out how your choice of arrays, linked lists, and hash tables can dramatically affect the code you write. Use recursion to solve tricky problems and create algorithms that run exponentially faster than the alternatives. Dig into advanced data structures such as binary trees and graphs to help scale specialized applications such as social networks and mapping software. You??ll even encounter a single keyword that can give your code a turbo boost. Practice your new skills with exercises in every chapter, along with detailed solutions.
Use these techniques today to make your code faster and more scalable.
- ISBN-13978-1680508055
- Edition2nd
- PublisherPragmatic Bookshelf
- Publication dateAug. 10 2020
- LanguageEnglish
- File size13.2 MB
See all supported devices
Kindle E-Readers
- Kindle Paperwhite (10th Generation)
- Kindle Paperwhite (12th Generation)
- Kindle Paperwhite (5th Generation)
- Kindle Touch
- Kindle Oasis (10th Generation)
- Kindle Paperwhite
- Kindle Oasis (9th Generation)
- Kindle
- All New Kindle E-reader
- All new Kindle paperwhite
- Kindle (11th Generation, 2024 Release)
- Kindle Scribe, 1st generation (2024 release)
- Kindle Scribe (1st Generation)
- Kindle (10th Generation)
- Kindle Oasis
Fire Tablets
- Fire HD 8 (10th Generation)
- Fire HD 10 (11th Generation)
Free Kindle Reading Apps
- Kindle for Android Phones
- Kindle for Android Tablets
- Kindle for iPhone
- Kindle for iPad
- Kindle for PC
- Kindle for Web
- Kindle for Mac
Customers who bought this item also bought
Product description
About the Author
Product details
- ASIN : B0DD1C6BLQ
- Publisher : Pragmatic Bookshelf
- Accessibility : Learn more
- Publication date : Aug. 10 2020
- Edition : 2nd
- Language : English
- File size : 13.2 MB
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Print length : 507 pages
- ISBN-13 : 978-1680508055
- Page Flip : Enabled
- 鶹 Rank: #731,654 in Kindle Store (See Top 100 in Kindle Store)
- #45 in Algorithms Textbooks
- #146 in Computer Algorithms
- #727,364 in Kindle eBooks
- Customer Reviews:
About the author

Discover more of the authors books, see similar authors, read book recommendations and more.
Customer reviews
Customers say
Customers find the content of the book good, interesting, and interesting. They appreciate the format and print quality. Readers also say the book makes more advanced topics easy to understand and an excellent and approachable introduction to common data structures and algorithms. They mention each chapter introduces the topic in plain language and builds upon the core ideas without using math terms.
AI Generated from the text of customer reviews
Select to learn more
Customers find the content of the book good. They say the author makes it interesting and the format gives them trainings at the end of each chapter. Readers also mention the print quality is acceptable and the price is reasonable.
"...Overall, this was a worthwhile purchase. The print quality was acceptable and the price was reasonable...." Read more
"...It makes it easier to understand the algorithms. What a great book. Highly recommend this for a developers must have book collection." Read more
"...More importantly, the author makes it interesting and provides good end of chapter problems...." Read more
"...I love the format of the book that gives you trainings at the end of each chapter...." Read more
Customers find the book informative. They say it's an excellent and approachable introduction to common data structures and algorithms. Each chapter introduces the topic in plain language and builds upon the core ideas without using math terms. Readers mention the book makes it easier to understand the algorithms and is great for self-taught programmers.
"The book offers superb insight into some of the most fundamental data structures and algorithms...." Read more
"...It explains things so simply that when it comes to something like searching an array it seems too simple but makes more advanced topics really easy..." Read more
"...about that, but python and ruby turn out to be pretty good for learning the material..." Read more
"If you want a very concise, clear and easy to understand book to learn or re-asses your knowledge of computer science, algorithms and data structures..." Read more
Reviews with images

Top reviews from Canada
There was a problem filtering reviews. Please reload the page.
- Reviewed in Canada on June 7, 2024Verified PurchaseThe book offers superb insight into some of the most fundamental data structures and algorithms. However, don't expect to go too deep into any particular topic.
A strong mathematics background is not required to read this book. Each chapter introduces the topic in plain language and builds upon the core ideas without overcomplicating them with too much mathematics.
Sample code is provided in the book, albeit in a random assortment of Ruby, Python, and JavaScript, but separate editions of the book stick to a single language.
The end of each chapter contains exercises which vary in difficulty. Answers are provided at the back of the book. Exercises sometimes require coding or drawing in addition to thinking.
Although I felt that a few topics could have been added to the book (merge sort, topological sort, union-find, minimum spanning trees, Prim's, Kruskal's), I won't take points off. Perhaps those topics will appear in a 2nd volume.
Overall, this was a worthwhile purchase. The print quality was acceptable and the price was reasonable.
I recommend this book to anyone, beginner or expert, to learn or refresh their knowledge of data structures and algorithms.
- Reviewed in Canada on December 20, 2021Verified PurchaseAs someone who taught myself to code as a kid, Ive often regretted never getting a formal CS degree because I missed out on some of the fundamentals. A lot of these are implemented for us in modern programming languages but they are important if you want to understand whats actually going on and also for understanding the performance of your own code.
Ive tried a lot over the years to teach myself the common data structures and algorithms. Ive learned a bit here and there but I found this book finally made a lot of them click for me. It explains things so simply that when it comes to something like searching an array it seems too simple but makes more advanced topics really easy to understand.
Also as another reviewer mentioned, the use of Ruby and Python (neither of which Ive used before) actually makes it easier to understand the topics because the code is less cluttered with boiler plate code. It makes it easier to understand the algorithms.
What a great book. Highly recommend this for a developers must have book collection.
- Reviewed in Canada on December 11, 2021Verified PurchaseThis book is one of my favorites. The examples are in python, ruby and javascript.
I was skeptical about that, but python and ruby turn out to be pretty good for learning the material
without a lot of extra boilerplate like you'd get in java/C++.
More importantly, the author makes it interesting and provides good end of chapter problems. You can only learn this stuff well by implementing a fair amount of it yourself.
- Reviewed in Canada on December 27, 2020Verified PurchaseIf you want a very concise, clear and easy to understand book to learn or re-asses your knowledge of computer science, algorithms and data structures, pick up this book! I love the format of the book that gives you trainings at the end of each chapter. The book is so good that I looked up the author to see if he has written more books, sadly this is his only book!
- Reviewed in Canada on March 6, 2022Verified PurchaseI've thoroughly enjoyed reading this book every day and learned a lot! Great book!
- Reviewed in Canada on August 9, 2022Verified PurchaseAwesome!
- Reviewed in Canada on March 17, 2022Verified PurchaseThe book goes really slow, and everything is explained without using math terms. Awesome!
- Reviewed in Canada on July 21, 2025Verified PurchaseThis book is good if you're curious on the theory behind data structures and algorithms. If you're trying to get practical experience using them, identifying applicable problems, or preparing for interviews, I would look elsewhere. Online courses with a built in editor served me far better than this book.
Top reviews from other countries
-
hsatouReviewed in Japan on January 8, 2024
5.0 out of 5 stars 르ꥺȥǩ`λDZʲٳDzԤܲѧϰʤ餳α
Verified PurchaseͬߤΡA Common-Sense Guide to Data Structures and Algorithms in Python, Volume 1Ȥ֡ͬߤʤΤǥƥͬ褦˸ߤʹäZPython˽gäΤϤäƤΤαϥ르ꥺȥǩ`ΌgװPython, Ruby, JavaScriptФäƤ롣˽Javaˤǩ`쥯ɤ۸֤äƤΤäѤ֤ʤƤαiΤ르ꥺȥǩ`αȤƤȫȻԿषȤʤȫγߤǤ혤iMƤLinked ListStackGraphTreeȤäĤʥǩ`Nsort르ꥺَʹˤĤ뤳Ȥ褦˕Ƥ롣Leet Codedž}⤤ƤۤgĤʥץ`㏊ˤʤ뤬ǰˤαiǤȤΥ르ꥺO(n)΄IٶȤǤȤäh˵ֿʤʤ롣IٶȤζxʤɤ˼Ƥ뤫Leet Codeφ}हơयΥǩ`jѤˤɤʤΤ⤷ƤȤĿĤˤƤʤ르ꥺαȤƤϮΥѥȤʤαDZҪ֪RƤޤäۤ礤gHΤȤJava`äPythonRubyˤضΥǩ`gװ饤֥٤ʤΤǡۤȤɤΥ르ꥺόgHΌgװʹCϤʤˤƤ⡢gװ˷֪äƤȤФȤȤۤĤȤåȤ⤢롣αߤǥ르ꥺTLeet Codeǥ르ꥺȥǩ`Ά}gɽ⤤ƤߤȤΤץߥǤgװ뤿ˤЄʥץ`ǤߤΥץީ`Z饤֥ҙΤ˕rgꤹơgHˤɤL^Pץdž}Q㏊꤬Ǥ롣20ǰ˥ץߥʼ㏊Ȥ˽ޤˤǤäƳɹʮ֤ˤʤץީ`ؤξΙCʧäƤޤ롣Ϥʤ٤i餽αkչƥꥸʥΥץȤˤLeet CodeΆ}ȡMꤷƤ뤬Ȥζǥץߥˤץߥ_ˤϡgĤʥץ`ʤʤ櫓ǡ르ꥺȥǩ`˚XTˡTOEIC 700ϤiΤ뷽ˤϤαǤ롣˽TOEIC 720ǥץߥαϲɤʤǤiߤʤƤ롣
- Amit SahaReviewed in Australia on June 23, 2023
5.0 out of 5 stars Great introductory/refresher book for data structures
Verified PurchaseThe author does a fantastic job in covering a broad range of data structures and problem solving techniques. I work as a software engineer, and I don't consider myself great at data structures and algorithms. This book certainly improved my confidence and provided me a refresher of the common ones that I am aware of, and know well. Additionally, it also taught me new topics that I hadn't studied before.
- Gustavo CaetanoReviewed in Brazil on May 10, 2024
5.0 out of 5 stars Great for beginners and advanced devs
Verified PurchaseFor some reason I see many people not recommending this book for beginners and recommending Grokking Algorithms instead. These people say this one is more advanced.
I must say it's not! It's an amazing book, really well explained in layman terms. Illustrations are great and the play by play of algorithms is very efficient at helping you visualize the solutions
It's much better than Grokking Algorithms, IMO
- BKReviewed in Turkey on January 29, 2025
4.0 out of 5 stars Nice book
Verified PurchaseThe book is very comprehensive and easy to grasp, if youre a beginner I definitely recommend it. But the author has included examples from both Ruby, Python and JS, and as someone with 0 Ruby knowledge, reading and understanding Ruby examples can be difficult at times. If youre like me, I recommend buying this same books Python or JavaScript versions, as I also had to buy the Python version to grasp the material even better.