The CS Detective by Jeremy Kubica

The CS Detective: An Algorithmic Tale of Crime, Conspiracy, and Computation by Jeremy Kubica is the tory of disgraced ex-detective and hardboiled private eye Frank Runtime.

Frank Runtime knows REGEX and is not afraid to use it.

From the publishers:

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.

Learn about the key algorithms, basic data objectgs such as strings, arrays, and stacks.

This well illustrated, well written book is, as far as I know, unique. Read a novel, learn computer science.

This is for anyone starting out in computer science, including CS students. And, just for fun.

Tags

More like this

AP Computer Science AB Cut
The very first AP class I took in high school was the Computer Science AB test. Today, I learn from the Washington Post, that the Computer Science AB test is on the chopping block (along with Italian, Latin literature, and French literature.) The AP Computer Science AB test is a superset of the AP…
Traversing Graphs
One amusing thing in graph theory is graph traversal. Many of the interesting algorithms on graph are ultimately based on the idea of iterating through the nodes of the graph in some order that is related to the structure of the graph. There are two fundamental orders of graph traversal, known as…
A.K.A. Karl Malden. It may be that most people who know Karl Malden remember him from Streets (with a young rookie named Michael Douglas), but of course, he had an illustrious acting career outside of that well known and ground breaking TV series. Speaking of Malden's original Czech last name…
Computing Strongly Connected Components
As promised, today I'm going to talk about how to compute the strongly connected components of a directed graph. I'm going to go through one method, called Kosaraju's algorithm, which is the easiest to understand. It's possible to do better that Kosaraju's by a factor of 2, using an algorithm…

Okay, that is clever enough to read the sample Kindle file.

I wonder what you would think of my memoir.

By Desertphile (not verified) on 07 Dec 2016 #permalink

Alas, I have no idea where to send it to you address-wise. By the way, I quoted you on one page, from a sentence you wrote about flooding in Texas.

The following two quotes equally sum up my memoir DESERTPHILE:

“It’s a cynical, outrageous, politically incorrect, foul-mouthed and absolutely hilarious modern-day Walden.” -- Douglas Preston (author of “City of the Monkey God;” “The Codex;” and the Pendergast series with Lincoln Child)

"What a cringey twat you are." -- Ronnie Swoleman

This site can’t be reached
desertphile.org refused to connect.

By Doug Alder (not verified) on 08 Dec 2016 #permalink

Radically off-topic, damn me to hell. I would like to have Greg review the book, but my book agent said she must approve all such things. Gosh.

Thank you for the notice. I will send a complaint to the host--- all of my domain names on that host are not working. Argh!

The movie I am in was released around two weeks ago, and several people have been attacking me, my domains, my web servers, and some of my friends. I will need to get a security audit before my book is released, as it will enrage more emotionally weak morons.

By Desertphile (not verified) on 08 Dec 2016 #permalink

In reply to by Doug Alder (not verified)

Desertphile -I highly recommend getting even the basic free service from Cloudflare - it can help you against such attacks

sorry for the OT Greg

By Doug Alder (not verified) on 08 Dec 2016 #permalink

OK Greg I give up what is regit - I know regex and regedit but regit ? In latin it means to lead or keep straight otherwise it appears to be some PoS software. :)

By Doug Alder (not verified) on 08 Dec 2016 #permalink

Desert: I'm a standard reviewer. No producer of a book has ever not sent me a book requested and I get more than that. If your book editor somehow does not want to allow me to have a copy, then you have something strange going on there!

Doug:

Regit my misspelling of regex.

"Desert: I’m a standard reviewer. No producer of a book has ever not sent me a book requested and I get more than that. If your book editor somehow does not want to allow me to have a copy, then you have something strange going on there!"

The literary agent I have started to work with is new to me; she wants to send out Advanced Reader Copies so that we collect short "blurbs" for the front matter. I want to send the manuscript out in Microsoft Word format so that the "blurbs" don't take another year. It is frustrating seeing how long it takes to get a manuscript turned into a book. I had no idea that writing is the easiest part of the process.