~/talk

Algorithm Magic

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

A live card trick demonstrates C++ STL algorithms: a 24-card deck initialized with iota, shuffled, a volunteer selects and replaces a card, then the deck splits into four and the procedure repeats three times; accumulate is used to scan each partition (presented as a distributed aggregation), then move and collect rebuild the deck and a find/assert prints the single correct card. The demo compiles the steps into working code and verifies success.

AI-written summary · about

~/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.