~/talk

Algorithm, Review, Sorting

Talkat PHP UK Conference 2014 · 2014-02-21..02-22· [php]
slides:none on file

Covers insertion, bubble, quicksort, heap sort and linear and binary search with live demos and working code on GitHub and the Google PHP App Engine; states PHP's sort uses quicksort and shows quicksort’s average O(n log n) and worst O(n^2) on already ordered input; builds heaps with the SPL MinHeap class and explains heap sort’s predictable O(n log n); notes insertion sort is adaptive with best case O(n) and worst O(n^2); mentions radix sort (1887) can be O(n) given suitable data.

AI-written summary · about

  1. 0:00Introduction
  2. 1:34Who am I
  3. 2:53What this talk is about
  4. 4:21Why sort data
  5. 5:59Stable vs Unstable Sorting
  6. 8:48Big O notation
  7. 10:00Linear growth
  8. 12:32Adaptive
  9. 18:03Insert Sort Recap
  10. 23:48Knuth
  11. 24:32Bubble Sort
  12. 25:18Quick Sort
  13. 27:16Pivot Index
  14. 28:32Recursive
  15. 30:09Quicksort
  16. 38:18Sorting the array
  17. 39:45SPLM
  18. 40:30Sequential Search
  19. 41:17Binary Search
  20. 42:34Binary Search Example
  21. 43:01Binary Search Summary
  22. 44:00Sorting Algorithms
  23. 45:04Google of PHP
  24. 45:24Other sorting algorithms
~/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.