# Alex Kladov - Finding Bugs (Highlights) ![rw-book-cover|256](https://matklad.github.io/favicon.svg) ## Note Source: Reader feed (matklad). Moved from feed→inbox. Matches craft/testing depth (TDD in age of AI, systems debugging). ## Highlights - And by far the most important technique for testing algorithms is to compare with the known right answer, with an oracle. Implement both `O(N log N)` and `O(N^2)` versions of the algorithm, and match the answers. ([View Highlight](https://read.readwise.io/read/01m3h2athmk7tdyvh2yz805dsw)) ^1058492069 - Fuzzing against an oracle is effective, which is a strong motivation to build an oracle! ([View Highlight](https://read.readwise.io/read/01m3h2h0d9n6mfs86spfd30kyz)) ^1058492263 - Go for small, tricky examples, rather than large uniform ones. ([View Highlight](https://read.readwise.io/read/01m3h2h2cmzhjb7zkqm7en54f5)) ^1058492266