> Skip to content
  • Published: 1 August 2017
  • ISBN: 9781593277499
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 256
  • RRP: $39.99

The CS Detective

An Algorithmic Tale of Crime, Conspiracy, and Computation



The CS Detective is a fantasy whodunit for the digital age that introduces the concepts behind search algorithms and important data structures.

Meet Frank Runtime. Disgraced ex-detective. Hard-boiled private eye. Search expert.

When a robbery hits police headquarters, it’s up to Frank Runtime and his extensive search skills to catch the culprits. In this detective story, you’ll learn how to use algorithmic tools to solve the case. Runtime scours smugglers’ boats with binary search, tails spies with a search tree, escapes a prison with depth-first search, and picks locks with priority queues. Joined by know-it-all rookie Officer Notation and inept tag-along Socks, he follows a series of leads in a best-first search that unravels a deep conspiracy. Each chapter introduces a thrilling twist matched with a new algorithmic concept, ending with a technical recap.

Perfect for computer science students and amateur sleuths alike, The CS Detective adds an entertaining twist to learning algorithms.

Follow Frank’s mission and learn:
–The algorithms behind best-first and depth-first search, iterative deepening, parallelizing, binary search, and more
–Basic computational concepts like strings, arrays, stacks, and queues
–How to adapt search algorithms to unusual data structures
–The most efficient algorithms to use in a given situation, and when to apply common-sense heuristic methods

  • Published: 1 August 2017
  • ISBN: 9781593277499
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 256
  • RRP: $39.99

Also by Jeremy Kubica

See all
penguin pop image
penguin pop image