Get Free Shipping on orders over $89
Grokking Algorithms : Grokking - Aditya Bhargava

Grokking Algorithms

By: Aditya Bhargava

Hardcover | 14 March 2024 | Edition Number 2

At a Glance

Hardcover


$119.75

or 4 interest-free payments of $29.94 with

 or 

Ships in 10 to 15 business days

A friendly, fully-illustrated introduction to the most important computer programming algorithms.

Master the most widely used algorithms and be fully prepared when you're asked about them at your next job interview. With beautifully simple explanations, over 400 fun illustrations, and dozens of relevant examples, you'll actually enjoy learning about algorithms with this fun and friendly guide

In Grokking Algorithms, Second Edition you will discover:

  • Search, sort, and graph algorithms
  • Data structures such as arrays, lists, hash tables, trees, and graphs
  • NP-complete and greedy algorithms
  • Performance trade-offs between algorithms
  • Exercises and code samples in every chapter
  • Over 400 illustrations with detailed walkthroughs

The first edition of Grokking Algorithms proved to over 100,000 readers that learning algorithms doesn't have to be complicated or boring This revised second edition contains brand new coverage of trees, including binary search trees, balanced trees, B-trees and more. You'll also discover fresh insights on data structure performance that takes account of modern CPUs. Plus, the book's fully annotated code samples have been updated to Python 3.

Foreword by Daniel Zingaro.

Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.

About the technology

The algorithms you use most often have already been discovered, tested, and proven. Grokking Algorithms, Second Edition makes it a breeze to learn, understand, and use them. With beautifully simple explanations, over 400 fun illustrations, and dozens of relevant examples, it's the perfect way to unlock the power of algorithms in your everyday work and prepare for your next coding interview--no math required

About the book

Grokking Algorithms, Second Edition teaches you important algorithms to speed up your programs, simplify your code, and solve common programming problems. Start with tasks like sorting and searching, then build your skills to tackle advanced problems like data compression and artificial intelligence. You'll even learn to compare the performance tradeoffs between algorithms. Plus, this new edition includes fresh coverage of trees, NP-complete problems, and code updates to Python 3.

What's inside

  • Search, sort, and graph algorithms
  • Data structures such as arrays, lists, hash tables, trees, and graphs
  • NP-complete and greedy algorithms
  • Exercises and code samples in every chapter

About the reader

No advanced math or programming skills required.

About the author

Aditya Bhargava is a Software Engineer with a dual background in Computer Science and Fine Arts. He blogs on programming at adit.io.

Table of Contents

1 Introduction to algorithms
2 Selection sort
3 Recursion
4 Quicksort
5 Hash tables
6 Beadth-first search
7 Trees
8 Balanced trees
9 Dijkstra's algorithm
10 Greedy algorithms
11 Dynamic programming
12 k-nearest neighbors
13 where to go next

More in Computing & I.T.

How to Talk to AI : (And How Not To) - Jamie Bartlett

RRP $26.99

$22.99

15%
OFF
Open to Work : How to Get Ahead in the Age of AI - Ryan Roslansky

RRP $34.99

$27.99

20%
OFF
Doppelganger : A Trip Into the Mirror World - Naomi Klein

RRP $26.99

$22.99

15%
OFF
How to Win At Chess : The Ultimate Guide for Beginners and Beyond - Levy Rozman
The Amazing Generation - Jonathan Haidt

RRP $24.99

$20.75

17%
OFF
Careless People : A story of where I used to work - Sarah Wynn-Williams

RRP $24.99

$21.75

13%
OFF
We Are As Gods : A Survival Guide for the Age of Abundance - Peter H. Diamandis
Cisco Networking All-in-One For Dummies - Edward Tetz

RRP $82.95

$60.75

27%
OFF
How We Learn : The New Science of Education and the Brain - Stanislas Dehaene
The Pentagon's Brain : An Uncensored History of DARPA - Annie Jacobsen
Microsoft 365 Excel All-in-One For Dummies : Excel for Dummies - David H. Ringstrom
The Art of Final Fantasy XVI : Echoes of the Rising Tide - Square Enix
Microsoft 365 Excel For Dummies : For Dummies (Computer/Tech) - David H. Ringstrom