A webcomic of romance, sarcasm, math, and language.
Special 10th anniversary edition of WHAT IF?—revised and annotated with brand-new illustrations and answers to important questions you never thought to ask—coming from November 2024. Preorder here!
[[There is a linked black web, with a path in red]]
Brute-force solution:
O(n!)
[[The web continues in this one. A man with a hat and a case is drawing it]]
Dynamic programming algorithms: O(n^2 2^n)
[[Another man, with a hat too, is at a computer, looking back over the chair]]
Selling on eBay: O(1)
Computer salesman: Still working on your route?
Drawing salesman: Shut the hell up.
{{title text: What's the complexity class of the best linear programming cutting-plane techniques? I couldn't find it anywhere. Man, the Garfield guy doesn't have these problems ...}}
xkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS at a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device from Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing.