~/talk

Adventures in the World of (Algorithmic) Complexity

Talkat RubyC 2018 · 2018-06-02..06-03· [ruby]
links:none on file
slides:none on file

Covers practical use of Big O notation with concrete examples: compares two bracket‑balance algorithms (one backtracking, one single counter) and explains why the counter is better for time. Shows a real bug from generating 10,000 four-digit PINs until collisions exhaust the space, and designs a URL shortener that avoids storing 33 million combinations by pre‑shuffling character wheels so issuance is O(1) time with linear space — solution and tradeoffs are explicit.

AI-written summary · about

  1. 0:00Intro
  2. 1:59An algorithm
  3. 2:18A problem
  4. 3:53Solution B
  5. 6:15Moore's Law
  6. 6:46Still, difficult problems remain
  7. 8:25The wheat and the chessboard story
  8. 11:22Another example: dominoes
  9. 18:35A useful visualization
  10. 19:43Most common complexities
  11. 20:37Constant complexity
  12. 22:49Linear complexity
  13. 24:09Quadratic complexity
  14. 25:10Exponential complexity
  15. 25:28Logarithmic complexity
  16. 26:58Complexities: a comparison
  17. 27:26A thing to remember
  18. 35:23A hashing solution
~/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.