Putting the FUN back in Fundamentals: Data Structures, Algorithms, and More!
summary
Shows a working prototype: Docker Swarm on five Raspberry Pi 2Bs searches 69 million SMILES and extracts fingerprints to 69 million SMILES → 33 GB of 880‑bit fingerprints, with naive regex scans returning 2,500 matches in ~5s and a heavier query taking ~15s. Compares search algorithms (linear, binary, galloping, interpolation) and hash designs (cuckoo risks eviction loops vs peacock hash with 4–5 auxiliary hashes for constant‑time lookups). Finds bitmap precomputation impractical (single‑core ImageMagick would take ~20 years) and stresses memoization and set‑intersection ordering.
AI-written summary · about
chapters (22)
- 0:00Introduction and personal update
- 1:02About the speaker and initiatives
- 2:30Raspberry Pi challenge and motivation
- 3:34Why algorithms matter in IT
- 5:47Data-driven development approach
- 6:10Measuring algorithm complexity
- 8:21Linear and binary search explained
- 10:52Galloping search algorithm
- 13:05Interpolation search for speed
- 15:38Green complexity beyond Big O
- 21:05Arrays and linked lists basics
- 23:38Tree data structures overview
- 24:41Mini quiz break on hashing
- 26:05Hash tables and collision handling
- 29:17Cuckoo hashing explained
- 32:09Peacock hashing for efficiency
- 34:22Sets and unordered sets
- 35:30Highlander sets and performance
- 38:44Set intersections and optimizations
- 42:41Case study Raspberry Pi cluster
- 53:10The ruling data structure revealed
- 54:14Closing and resources
