# TAOCP 2.3.4 Basic Mathematical Properties of Trees (part 2)

> Week 59 of the cracked.guide path: Knuth 2.3.4 Basic Mathematical Properties of Trees (part 2); LeetCode: 2 NeetCode 150 problems.

Week 59 of 145 on cracked.guide, in TAOCP Vol 1: Fundamental Algorithms: TAOCP 2.3.4 Basic Mathematical Properties of Trees (part 2) and 2 NeetCode 150 problems. The reading guides budget about 8 hours.

## Key facts {#key-facts}

- [TAOCP 2.3.4 Basic Mathematical Properties of Trees (part 2)](https://cracked.guide/guide/knuth-w043-0): Part 2 covers counting trees (binary trees, oriented and free trees, labeled trees), path length and its role in measuring tree cost, Huffman's method for building optimal weighted trees, and the…
- Phase: TAOCP Vol 1: Fundamental Algorithms, weeks 29 to 63.
- Updated October 20, 2026.

## By the end of this week you can {#objectives}

- Compute the number of binary trees with n nodes.
- Explain internal and external path length and the rule E = I + 2n.
- Use Huffman's method to build a minimum weighted path length tree.

## This week's tasks {#tasks}

- [TAOCP 2.3.4 Basic Mathematical Properties of Trees (part 2)](https://cracked.guide/guide/knuth-w043-0): about 8 hours
- LeetCode: 2 NeetCode 150 problems

Previous: [Week 58](https://cracked.guide/curriculum/week/58) · Next: [Week 60](https://cracked.guide/curriculum/week/60)

---

Source: https://cracked.guide/curriculum/week/59
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
