~/talk

Algorithm Intuition (part 1 of 2)

Talkat CppCon 2019 · 2019-09-15..09-20· [c-and-cpp]
slides:none on file

Walks through concrete STL uses: generates sequences with iota, computes sums with accumulate/transform_reduce, finds both extremes with min_max_element returns both min and max, and computes adjacent gaps with adjacent_difference to solve “min difference” in O(n log n) then O(n) with min/max. Shows inner_product as a practical inner_product acts as zip+reduce for pairing two ranges (poster/ladder problem), demonstrates reduce/fold can express ~77 other algorithms, and cites 111 total STL algorithms plus C++17/20 range and parallel features.

AI-written summary · about

  1. 0:00Intro
  2. 2:59Bitesize problems
  3. 5:12Algorithms
  4. 10:26Sean Parent
  5. 10:58Black Mirror
  6. 11:51Interview Warmup
  7. 17:08Continuous learning
  8. 20:21STL algorithms
  9. 24:46IOTA shaming
  10. 28:11Accumulation
  11. 29:55Fold and Reduce
  12. 34:52adjacent difference
  13. 41:22example
  14. 47:37Matts talk
  15. 48:42The problem
  16. 51:34Transform Reduce
  17. 51:53Transform Reduce Code
  18. 52:47cpp Reference
  19. 53:17Questions
  20. 53:34Debuggers
  21. 55:54Conclusions
  22. 57:10QA
~/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.