DeepRead

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 mosaic

All 126 books

  1. 1
    The art of computer programming
    Donald Knuth · 1968 · recommended by 336 people
  2. 2
    Introduction to Algorithms
    Thomas H. Cormen · 1990 · recommended by 274 people
  3. 3
    The algorithm design manual
    Steven S. Skiena · 1998 · recommended by 195 people
  4. 4
    Cracking The Coding Interview
    Gayle Laakmann McDowell · 2010 · recommended by 178 people
  5. 5
    Algorithms
    Robert Sedgewick · 2011 · recommended by 50 people
  6. 6
    Grokking Algorithms
    Aditya Y. Bhargava · 2016 · recommended by 42 people
  7. 7
    Elements of programming interviews
    Adnan Aziz · 2017 · recommended by 36 people
  8. 8
    Algorithm design
    Jon Kleinberg · 1922 · recommended by 30 people
  9. 9
    Programming interviews exposed
    John Mongan · 2007 · recommended by 29 people
  10. 10
    Algorithms in C++
    Robert Sedgewick · 1990 · recommended by 27 people
  11. 11
    The TeXbook
    Donald Knuth · 1970 · recommended by 25 people
  12. 12
    Introduction to automata theory, languages, and computation
    John E. Hopcroft · 1979 · recommended by 24 people
  13. 13
    Literate programming
    Donald Knuth · 1992 · recommended by 18 people
  14. 14
    Algorithms for Modern Hardware
    Sergey Slotin · 2022 · recommended by 15 people
  15. 15
    Introduction to algorithms
    Udi Manber · 1989 · recommended by 14 people
  16. 16
    TEX
    Donald Knuth · 1985 · recommended by 12 people
  17. 17
    Algorithms in a nutshell
    George T. Heineman · 2008 · recommended by 12 people
  18. 18
    Thinking in C++
    Bruce Eckel · 1995 · recommended by 11 people
  19. 19
    Competitive Programmer's Handbook
    Antti Laaksonen · 2018 · recommended by 11 people
  20. 20
    Open Data Structures
    Pat Morin · 2013 · recommended by 11 people
  21. 21
    Sorting and searching
    Donald Knuth · 1973 · recommended by 10 people
  22. 22
    Cracking the PM Interview
    Gayle Laakmann McDowell · 2013 · recommended by 10 people
  23. 23
    Algorithms
    Jeff Erickson · 2019 · recommended by 10 people
  24. 24
    Things a Computer Scientist Rarely Talks About
    Donald Knuth · 2001 · recommended by 9 people
  25. 25
    A Common-Sense Guide to Data Structures and Algorithms
    Jay Wengrow · 2017 · recommended by 9 people
  26. 26
    Algorithms Illuminated
    Tim Roughgarden · 2018 · recommended by 9 people
  27. 27
    Algorithms and data structures
    Niklaus Wirth · 1986 · recommended by 8 people
  28. 28
    Network Algorithmics,
    George Varghese · 2004 · recommended by 8 people
  29. 29
    Introduction to the design & analysis of algorithms
    Anany Levitin · 2003 · recommended by 7 people
  30. 30
    Programming challenges
    Steven S. Skiena · 2003 · recommended by 7 people
  31. 31
    Computational complexity
    Christos H. Papadimitriou · 1994 · recommended by 7 people
  32. 32
    Algorithms unlocked
    Thomas H. Cormen · 2013 · recommended by 7 people
  33. 33
    Art of Programming - Volume 3 - Answers to Exercises
    Donald Knuth · recommended by 6 people
  34. 34
    Digital typography
    Donald Knuth · 1999 · recommended by 6 people
  35. 35
    Computers and Typesetting
    Donald Knuth · 1986 · recommended by 6 people
  36. 36
    A field guide to genetic programming
    Riccardo Poli · 2008 · recommended by 6 people
  37. 37
    The Stanford GraphBase
    Donald Knuth · 2009 · recommended by 5 people
  38. 38
    Algorithms for Optimization
    Mykel J. Kochenderfer · 2019 · recommended by 5 people
  39. 39
    Computation
    Marvin Minsky · 1967 · recommended by 5 people
  40. 40
    Computers and intractability
    Michael R. Garey · 1979 · recommended by 5 people
  41. 41
    Algorithms of the intelligent web
    Haralambos Marmanis · 2009 · recommended by 5 people
  42. 42
    Data Structures and Algorithms in Python
    Michael T. Goodrich · 2012 · recommended by 5 people
  43. 43
    Elements of the Theory of Computation
    Lewis, Harry R., and Christos H. Papadimitriou · 1981 · recommended by 5 people
  44. 44
    Python Algorithms
    Magnus Lie Hetland · 2010 · recommended by 4 people
  45. 45
    The LaTeX Companion
    Frank Mittelbach · 2004 · recommended by 4 people
  46. 46
    Algorithms
    Christos H. Papadimitriou · 2006 · recommended by 4 people
  47. 47
    Randomized algorithms
    Rajeev Motwani · 1995 · recommended by 4 people
  48. 48
    Algorithms for interviews
    Adnan Aziz · 2010 · recommended by 4 people
  49. 49
    Algorithms in Java
    Robert Sedgewick · 2003 · recommended by 4 people
  50. 50
    Nine algorithms that changed the future
    John MacCormick · 2012 · recommended by 4 people
  51. 51
    Obfuscated C and other mysteries
    Don Libes · 1993 · recommended by 4 people
  52. 52
    An introduction to formal languages and automata
    Peter Linz · 1990 · recommended by 4 people
  53. 53
    Collective intelligence in action
    Satnam Alag · 2008 · recommended by 4 people
  54. 54
    Flexible Pattern Matching in Strings
    Gonzalo Navarro · 2002 · recommended by 4 people
  55. 55
    Data flow analysis
    Uday Khedker · 2009 · recommended by 4 people
  56. 56
    How to Think About Algorithms
    Jeff Edmonds · 2008 · recommended by 4 people
  57. 57
    Mastering algorithms with C
    Kyle Loudon · 1999 · recommended by 3 people
  58. 58
    Data structures and algorithms in Java
    Adam Drozdek · 2001 · recommended by 3 people
  59. 59
    Algorithms on strings, trees, and sequences
    Dan Gusfield · 1997 · recommended by 3 people
  60. 60
    An introduction to the analysis of algorithms
    Robert Sedgewick · 1995 · recommended by 3 people
  61. 61
    Data structures and algorithm analysis
    Mark Allen Weiss · 1992 · recommended by 3 people
  62. 62
    Distributed algorithms
    Nancy A. Lynch · 1996 · recommended by 3 people
  63. 63
    Matters computational
    Jörg Arndt · 2011 · recommended by 3 people
  64. 64
    Beyond Cracking the Coding Interview
    Gayle Laakmann McDowell · 2025 · recommended by 3 people
  65. 65
    Planning Algorithms
    Steven M. LaValle · 2006 · recommended by 3 people
  66. 66
    TEX by topic
    Victor Eijkhout · 1992 · recommended by 3 people
  67. 67
    ACM Turing Award Lectures
    ACM · 1991 · recommended by 3 people
  68. 68
    Essentials of Metaheuristics
    Sean Luke · 2012 · recommended by 3 people
  69. 69
    Advanced data structures
    Peter Brass · 2008 · recommended by 3 people
  70. 70
    Compared to what?
    Gregory J. E. Rawlins · 1992 · recommended by 3 people
  71. 71
    Computational complexity
    Sanjeev Arora · 2007 · recommended by 3 people
  72. 72
    Program Construction
    Roland C. Backhouse · 2003 · recommended by 3 people
  73. 73
    Algorithms, Fourth Edition
    Robert Sedgewick · 2015 · recommended by 2 people
  74. 74
    Clever algorithms
    Jason Brownlee · 2011 · recommended by 2 people
  75. 75
    Introduction to evolutionary computing. - 2. edición
    A. E. Eiben · 2015 · recommended by 2 people
  76. 76
    The Design and Analysis of Computer Algorithms
    Alfred V. Aho · 1974 · recommended by 2 people
  77. 77
    Algebra of programming
    Bird, Richard · 1997 · recommended by 2 people
  78. 78
    Computer Science
    Robert Sedgewick · 2016 · recommended by 2 people
  79. 79
    Text algorithms
    Maxime Crochemore · 1994 · recommended by 2 people
  80. 80
    Turing
    Christos H. Papadimitriou · 2005 · recommended by 2 people
  81. 81
    9 Algorithms That Changed the Future
    John MacCormick · 2012 · recommended by 2 people
  82. 82
    A beginner's book of TeX
    Raymond Seroul · 1991 · recommended by 2 people
  83. 83
    Algorithm Design with Haskell
    Richard S. Bird · 2020 · recommended by 2 people
  84. 84
    Algorithms in SNOBOL4
    James F. Gimpel · 1976 · recommended by 2 people
  85. 85
    Algorithms on Strings
    Maxime Crochemore · 2007 · recommended by 2 people
  86. 86
    Art of Writing Efficient Programs
    Fedor G. Pikus · 2021 · recommended by 2 people
  87. 87
    Computer algorithms
    Sara Baase · 1999 · recommended by 2 people
  88. 88
    Data Structures Using C
    Aaron M. Tenenbaum · 1990 · recommended by 2 people
  89. 89
    Data structure techniques
    Thomas A. Standish · 1980 · recommended by 2 people
  90. 90
    Data structures
    Richard F. Gilberg · 1998 · recommended by 2 people
  91. 91
    Genetic programming
    Wolfgang Banzhaf · 1998 · recommended by 2 people
  92. 92
    Great Principles of Computing
    Peter J. Denning · 2015 · recommended by 2 people
  93. 93
    Jewels of stringology
    Maxime Crochemore · 2002 · recommended by 2 people
  94. 94
    The concept of a meta-font
    Donald Knuth · 1982 · recommended by 2 people
  95. 95
    Toledo Nanochess
    Oscar Toledo Gutierrez · 2014 · recommended by 2 people
  96. 96
    METAFONT
    Donald Knuth · 1986 · recommended by 1 person
  97. 97
    Algorithms from the Book
    Kenneth Lange · 2020 · recommended by 1 person
  98. 98
    A handbook of integer sequences
    Neil J. A. Sloane · 1973 · recommended by 1 person
  99. 99
    Data structures and algorithms
    Alfred V. Aho · 1983 · recommended by 1 person
  100. 100
    Computer graphics
    Steven Harrington · 1983 · recommended by 1 person
  101. 101
    Programming Algorithms in Lisp
    Vsevolod Domkin · 2021 · recommended by 1 person
  102. 102
    Programming Distributed Computing Systems
    Carlos A. Varela · 2013 · recommended by 1 person
  103. 103
    Selected Papers on Computer Science
    Donald Knuth · 1996 · recommended by 1 person
  104. 104
    The Art of Computer Programming, Volume 2
    Donald Knuth · recommended by 1 person
  105. 105
    The art and theory of dynamic programming
    Stuart E. Dreyfus · 1977 · recommended by 1 person
  106. 106
    A guide to FORTRAN programming
    Daniel D. McCracken · 1961 · recommended by 1 person
  107. 107
    Cake-cutting algorithms
    Robertson, Jack · 1998 · recommended by 1 person
  108. 108
    Introduction to programming in Java
    Robert Sedgewick · 2007 · recommended by 1 person
  109. 109
    A guide to LATEX
    Helmut Kopka · 1993 · recommended by 1 person
  110. 110
    A practical guide to data structures and algorithms using java
    Sally A. Goldman · 2007 · recommended by 1 person
  111. 111
    Automata, Computability and Complexity
    Elaine A. Rich · 2007 · recommended by 1 person
  112. 112
    Combinatorial Algorithms
    Herbert S. Wilf · 1989 · recommended by 1 person
  113. 113
    Combinatorial Optimization
    Alexander Schrijver · 2003 · recommended by 1 person
  114. 114
    Computability and complexity
    Neil D. Jones · 1997 · recommended by 1 person
  115. 115
    Computability, complexity, and languages
    Davis, Martin · 1983 · recommended by 1 person
  116. 116
    Computer Science Distilled
    Wladston Ferreira Filho · 2017 · recommended by 1 person
  117. 117
    Optimization techniques with Fortran
    James L. Kuester · 1973 · recommended by 1 person
  118. 118
    Programming Quantum Computers
    Mercedes Gimeno-Segovia · 2019 · recommended by 1 person
  119. 119
    Computers & Typesetting, Volume B: TeX
    Donald Knuth · recommended by 0 people
  120. 120
    Selected Papers on Computer Languages
    Donald Knuth · 2002 · recommended by 0 people
  121. 121
    Selected papers on design of algorithms
    Donald Knuth · 2009 · recommended by 0 people
  122. 122
    Algorithms in C, Parts 1-5
    Robert Sedgewick · 2001 · recommended by 0 people
  123. 123
    Computer Modern Typefaces
    Donald Knuth · 1986 · recommended by 0 people
  124. 124
    Introduction to parallel computing
    Vipin Kumar · 1994 · recommended by 0 people
  125. 125
    Selected papers on analysis of algorithms
    Donald Knuth · 2000 · recommended by 0 people
  126. 126
    The Essential Knuth
    Donald Knuth · 2013 · recommended by 0 people

Elsewhere in Programming and computer science