~/talk

Know your algorithms; sorting and searching

Talkat Dutch PHP Conference 2013 · 2013-06-07..06-08· [software-architecture]
slides:none on file

Demos use a PHP Silex app and code pushed to GitHub with a PDF of slides, and the page repeatedly shows visualizers for each algorithm; PHP's sort uses quicksort in C. Insertion sort is in-place, adaptive, stable, online, best O(1) on nearly-sorted data but average/worst O(n²). Bubble sort is academic; quicksort gives average O(n log n) and can be parallelized (worst O(n²)); SPL MinHeap/MaxHeap exists for heap sort; binary search is O(log n); radix can be O(n) for specific data.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Who am I
  3. 2:41Problem solving
  4. 4:00No other applications
  5. 5:00Why we do this
  6. 5:45Sorting first
  7. 7:25Stability
  8. 10:45Big O
  9. 16:57Adaptive algorithms
  10. 19:01Insertion sort
  11. 32:16Quicksort
  12. 37:37Quicksort visualization
  13. 39:48Quicksort improvements
  14. 41:38Heapsort
  15. 42:48Tree
  16. 45:38Sequential search
  17. 47:03Binary search
~/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.