Showing Posts From
N ary tree
- 20 Oct, 2025
N-ary Trees: Traversal & Encoding
Week 13 notes: once a node can have any number of children, the binary-tree patterns still work, you just loop over children. Plus encoding an N-ary tree as a binary one.