~/talk

Fun with Algorithms

slides:none on file

Shows that binary search cuts a million-item search to ~20 steps and a 10 million search to 29, and applies it to a banana problem with up to 10,000 piles and 1,000,000,000 bananas to turn a brute force 10,000×1,000,000,000 loop into about 10,000×29 checks. Demonstrates concrete gains from using sets/dictionaries for O(1) lookups, adjacency lists, heaps, tries, and graph routines like DFS/BFS, union‑find, Dijkstra/A and Bellman‑Ford, and reduces exponential Fibonacci or subset brute force to linear or polynomial time via memoization* and sliding‑window or two‑pointer tricks.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45Fun with Algorithms
  3. 3:03Binary Search
  4. 7:31Bananas
  5. 9:17Binary searches
  6. 10:38Big O notation
  7. 13:45Data structures
  8. 15:45Graphs
  9. 18:46Trees
  10. 21:49Depth First Search
  11. 29:40Dynamic Programming
  12. 36:25Sliding Windows
  13. 38:48Happy Patrons
  14. 44:43How I think about algorithms
  15. 49:11What can you do from here
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.