Best books on Algorithms and coding interviews, according to Hacker News
This region gathers 126 books that Hacker News commenters recommend for learning algorithms and preparing for coding interviews. Classic references lead it, including Donald Knuth's The Art of Computer Programming, Cormen's Introduction to Algorithms, and Skiena's The Algorithm Design Manual. Interview-focused guides such as Cracking the Coding Interview and Elements of Programming Interviews sit close behind. Grokking Algorithms is a gentler option among the leaders.
126 books in Algorithms and coding interviews, part of Programming and computer science, ranked by how many people recommended them in Hacker News comments.
Explore Algorithms and coding interviews in the mosaicAll 126 books
- 1
The art of computer programmingDonald Knuth · 1968 · recommended by 336 people - 2
Introduction to AlgorithmsThomas H. Cormen · 1990 · recommended by 274 people - 3
The algorithm design manualSteven S. Skiena · 1998 · recommended by 195 people - 4
Cracking The Coding InterviewGayle Laakmann McDowell · 2010 · recommended by 178 people - 5
AlgorithmsRobert Sedgewick · 2011 · recommended by 50 people - 6
Grokking AlgorithmsAditya Y. Bhargava · 2016 · recommended by 42 people - 7
Elements of programming interviewsAdnan Aziz · 2017 · recommended by 36 people - 8
Algorithm designJon Kleinberg · 1922 · recommended by 30 people - 9
Programming interviews exposedJohn Mongan · 2007 · recommended by 29 people - 10
Algorithms in C++Robert Sedgewick · 1990 · recommended by 27 people - 11
The TeXbookDonald Knuth · 1970 · recommended by 25 people - 12
Introduction to automata theory, languages, and computationJohn E. Hopcroft · 1979 · recommended by 24 people - 13
Literate programmingDonald Knuth · 1992 · recommended by 18 people - 14
Algorithms for Modern HardwareSergey Slotin · 2022 · recommended by 15 people - 15
Introduction to algorithmsUdi Manber · 1989 · recommended by 14 people - 16
TEXDonald Knuth · 1985 · recommended by 12 people - 17
Algorithms in a nutshellGeorge T. Heineman · 2008 · recommended by 12 people - 18
Thinking in C++Bruce Eckel · 1995 · recommended by 11 people - 19
Competitive Programmer's HandbookAntti Laaksonen · 2018 · recommended by 11 people - 20
Open Data StructuresPat Morin · 2013 · recommended by 11 people - 21
Sorting and searchingDonald Knuth · 1973 · recommended by 10 people - 22
Cracking the PM InterviewGayle Laakmann McDowell · 2013 · recommended by 10 people - 23
AlgorithmsJeff Erickson · 2019 · recommended by 10 people - 24
Things a Computer Scientist Rarely Talks AboutDonald Knuth · 2001 · recommended by 9 people - 25
A Common-Sense Guide to Data Structures and AlgorithmsJay Wengrow · 2017 · recommended by 9 people - 26
Algorithms IlluminatedTim Roughgarden · 2018 · recommended by 9 people - 27
Algorithms and data structuresNiklaus Wirth · 1986 · recommended by 8 people - 28
Network Algorithmics,George Varghese · 2004 · recommended by 8 people - 29
Introduction to the design & analysis of algorithmsAnany Levitin · 2003 · recommended by 7 people - 30
Programming challengesSteven S. Skiena · 2003 · recommended by 7 people - 31
Computational complexityChristos H. Papadimitriou · 1994 · recommended by 7 people - 32
Algorithms unlockedThomas H. Cormen · 2013 · recommended by 7 people - 33
Art of Programming - Volume 3 - Answers to ExercisesDonald Knuth · recommended by 6 people - 34
Digital typographyDonald Knuth · 1999 · recommended by 6 people - 35
Computers and TypesettingDonald Knuth · 1986 · recommended by 6 people - 36
A field guide to genetic programmingRiccardo Poli · 2008 · recommended by 6 people - 37
The Stanford GraphBaseDonald Knuth · 2009 · recommended by 5 people - 38
Algorithms for OptimizationMykel J. Kochenderfer · 2019 · recommended by 5 people - 39
ComputationMarvin Minsky · 1967 · recommended by 5 people - 40
Computers and intractabilityMichael R. Garey · 1979 · recommended by 5 people - 41
Algorithms of the intelligent webHaralambos Marmanis · 2009 · recommended by 5 people - 42
Data Structures and Algorithms in PythonMichael T. Goodrich · 2012 · recommended by 5 people - 43
Elements of the Theory of ComputationLewis, Harry R., and Christos H. Papadimitriou · 1981 · recommended by 5 people - 44
Python AlgorithmsMagnus Lie Hetland · 2010 · recommended by 4 people - 45
The LaTeX CompanionFrank Mittelbach · 2004 · recommended by 4 people - 46
AlgorithmsChristos H. Papadimitriou · 2006 · recommended by 4 people - 47
Randomized algorithmsRajeev Motwani · 1995 · recommended by 4 people - 48
Algorithms for interviewsAdnan Aziz · 2010 · recommended by 4 people - 49
Algorithms in JavaRobert Sedgewick · 2003 · recommended by 4 people - 50
Nine algorithms that changed the futureJohn MacCormick · 2012 · recommended by 4 people - 51
Obfuscated C and other mysteriesDon Libes · 1993 · recommended by 4 people - 52
An introduction to formal languages and automataPeter Linz · 1990 · recommended by 4 people - 53
Collective intelligence in actionSatnam Alag · 2008 · recommended by 4 people - 54
Flexible Pattern Matching in StringsGonzalo Navarro · 2002 · recommended by 4 people - 55
Data flow analysisUday Khedker · 2009 · recommended by 4 people - 56
How to Think About AlgorithmsJeff Edmonds · 2008 · recommended by 4 people - 57
Mastering algorithms with CKyle Loudon · 1999 · recommended by 3 people - 58
Data structures and algorithms in JavaAdam Drozdek · 2001 · recommended by 3 people - 59
Algorithms on strings, trees, and sequencesDan Gusfield · 1997 · recommended by 3 people - 60
An introduction to the analysis of algorithmsRobert Sedgewick · 1995 · recommended by 3 people - 61
Data structures and algorithm analysisMark Allen Weiss · 1992 · recommended by 3 people - 62
Distributed algorithmsNancy A. Lynch · 1996 · recommended by 3 people - 63
Matters computationalJörg Arndt · 2011 · recommended by 3 people - 64
Beyond Cracking the Coding InterviewGayle Laakmann McDowell · 2025 · recommended by 3 people - 65
Planning AlgorithmsSteven M. LaValle · 2006 · recommended by 3 people - 66
TEX by topicVictor Eijkhout · 1992 · recommended by 3 people - 67
ACM Turing Award LecturesACM · 1991 · recommended by 3 people - 68
Essentials of MetaheuristicsSean Luke · 2012 · recommended by 3 people - 69
Advanced data structuresPeter Brass · 2008 · recommended by 3 people - 70
Compared to what?Gregory J. E. Rawlins · 1992 · recommended by 3 people - 71
Computational complexitySanjeev Arora · 2007 · recommended by 3 people - 72
Program ConstructionRoland C. Backhouse · 2003 · recommended by 3 people - 73
Algorithms, Fourth EditionRobert Sedgewick · 2015 · recommended by 2 people - 74
Clever algorithmsJason Brownlee · 2011 · recommended by 2 people - 75
Introduction to evolutionary computing. - 2. ediciónA. E. Eiben · 2015 · recommended by 2 people - 76
The Design and Analysis of Computer AlgorithmsAlfred V. Aho · 1974 · recommended by 2 people - 77
Algebra of programmingBird, Richard · 1997 · recommended by 2 people - 78
Computer ScienceRobert Sedgewick · 2016 · recommended by 2 people - 79
Text algorithmsMaxime Crochemore · 1994 · recommended by 2 people - 80
TuringChristos H. Papadimitriou · 2005 · recommended by 2 people - 81
9 Algorithms That Changed the FutureJohn MacCormick · 2012 · recommended by 2 people - 82
A beginner's book of TeXRaymond Seroul · 1991 · recommended by 2 people - 83
Algorithm Design with HaskellRichard S. Bird · 2020 · recommended by 2 people - 84
Algorithms in SNOBOL4James F. Gimpel · 1976 · recommended by 2 people - 85
Algorithms on StringsMaxime Crochemore · 2007 · recommended by 2 people - 86
Art of Writing Efficient ProgramsFedor G. Pikus · 2021 · recommended by 2 people - 87
Computer algorithmsSara Baase · 1999 · recommended by 2 people - 88
Data Structures Using CAaron M. Tenenbaum · 1990 · recommended by 2 people - 89
Data structure techniquesThomas A. Standish · 1980 · recommended by 2 people - 90
Data structuresRichard F. Gilberg · 1998 · recommended by 2 people - 91
Genetic programmingWolfgang Banzhaf · 1998 · recommended by 2 people - 92
Great Principles of ComputingPeter J. Denning · 2015 · recommended by 2 people - 93
Jewels of stringologyMaxime Crochemore · 2002 · recommended by 2 people - 94
The concept of a meta-fontDonald Knuth · 1982 · recommended by 2 people - 95
Toledo NanochessOscar Toledo Gutierrez · 2014 · recommended by 2 people - 96
METAFONTDonald Knuth · 1986 · recommended by 1 person - 97
Algorithms from the BookKenneth Lange · 2020 · recommended by 1 person - 98
A handbook of integer sequencesNeil J. A. Sloane · 1973 · recommended by 1 person - 99
Data structures and algorithmsAlfred V. Aho · 1983 · recommended by 1 person - 100
Computer graphicsSteven Harrington · 1983 · recommended by 1 person - 101
Programming Algorithms in LispVsevolod Domkin · 2021 · recommended by 1 person - 102
Programming Distributed Computing SystemsCarlos A. Varela · 2013 · recommended by 1 person - 103
Selected Papers on Computer ScienceDonald Knuth · 1996 · recommended by 1 person - 104
The Art of Computer Programming, Volume 2Donald Knuth · recommended by 1 person - 105
The art and theory of dynamic programmingStuart E. Dreyfus · 1977 · recommended by 1 person - 106
A guide to FORTRAN programmingDaniel D. McCracken · 1961 · recommended by 1 person - 107
Cake-cutting algorithmsRobertson, Jack · 1998 · recommended by 1 person - 108
Introduction to programming in JavaRobert Sedgewick · 2007 · recommended by 1 person - 109
A guide to LATEXHelmut Kopka · 1993 · recommended by 1 person - 110
A practical guide to data structures and algorithms using javaSally A. Goldman · 2007 · recommended by 1 person - 111
Automata, Computability and ComplexityElaine A. Rich · 2007 · recommended by 1 person - 112
Combinatorial AlgorithmsHerbert S. Wilf · 1989 · recommended by 1 person - 113
Combinatorial OptimizationAlexander Schrijver · 2003 · recommended by 1 person - 114
Computability and complexityNeil D. Jones · 1997 · recommended by 1 person - 115
Computability, complexity, and languagesDavis, Martin · 1983 · recommended by 1 person - 116
Computer Science DistilledWladston Ferreira Filho · 2017 · recommended by 1 person - 117
Optimization techniques with FortranJames L. Kuester · 1973 · recommended by 1 person - 118
Programming Quantum ComputersMercedes Gimeno-Segovia · 2019 · recommended by 1 person - 119
Computers & Typesetting, Volume B: TeXDonald Knuth · recommended by 0 people - 120
Selected Papers on Computer LanguagesDonald Knuth · 2002 · recommended by 0 people - 121
Selected papers on design of algorithmsDonald Knuth · 2009 · recommended by 0 people - 122
Algorithms in C, Parts 1-5Robert Sedgewick · 2001 · recommended by 0 people - 123
Computer Modern TypefacesDonald Knuth · 1986 · recommended by 0 people - 124
Introduction to parallel computingVipin Kumar · 1994 · recommended by 0 people - 125
Selected papers on analysis of algorithmsDonald Knuth · 2000 · recommended by 0 people - 126
The Essential KnuthDonald Knuth · 2013 · recommended by 0 people
Elsewhere in Programming and computer science
- Lisp and Scheme 119
- Operating systems and networking 160
- Electronics and computer architecture 242
- C and C++ 135
- Functional programming languages 90
- Game and graphics programming 118
- Algorithms and coding interviews
- Programming classics and Java 94
- Compilers and interpreters 78
- Databases and distributed data 91
- Python 82
- Software design and clean code 86
- Ruby and Rails 45
- Software project management 51
- Rust and text editors 23
- Web architecture and microservices 56
- Open source and hacker culture 29
- Programmer careers and interviews 35
- Software engineering essays 38
- Testing and legacy code 40
- Geek trivia and curiosities 15