~/talk

A gentle introduction to Data Structure Trees

Talkat EuRuKo 2019 · 2019-06-21..06-22· [ruby]
github:Solera9
slides:none on file

Covers fundamentals and concrete tradeoffs: arrays and linked lists give constant-time access for small datasets but scale poorly, while binary search trees deliver average O(log n) search/insert/delete and degrade to O(n) when unbalanced. Includes runnable Ruby code for node insert/search using recursion and ternary operators, demonstrates why self‑balancing trees matter, and explains AVL rotations, splay trees (move accessed node to root for caches) and B‑trees for database indexing and disk‑resident data.

AI-written summary · about

  1. 0:00Start
  2. 9:29Big O notation is the language we use for talking about how long an algorithm takes to run.
  3. 13:19Binary Tree?
  4. 22:44Binary Search Trees only work best when the tree is balanced..
  5. 23:31Self-Balancing Trees?
~/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.