📗 2-3-4 Trees are B trees with 2-nodes, 3-nodes, and 4-nodes.
➩ 2-node: 1 value, 2 children.
➩ 3-node: 2 values, 3 children.
➩ 4-node: 3 values, 4 children.
📗 Insertion algorithm for new value:
➩ Perform search for value to find leaf to insert into. For every "full" node (with 3 values) on path to and including the leaf during the search: (1) Split node (preemptive split); (2) Continue search at parent but don't split it even if it is now full.
📗 Notes and code adapted from the course taught by Professor Florian Heimerl and Ashley Samuelson.
📗 Please use Ctrl+F5 or Shift+F5 or Shift+Command+R or Incognito mode or Private Browsing to refresh the cached JavaScript.
📗 You can expand all the examples and demos: , or print the notes: .
📗 If there is an issue with TopHat during the lectures, please submit your answers on paper (include your Wisc ID and answers) or this Google Form at the end of the lecture.