# TAOCP 6.2.2 Binary Tree Searching

> Week 110 of the cracked.guide path: Knuth 6.2.2 Binary Tree Searching.

Week 110 of 145 on cracked.guide, in TAOCP Vol 3: Sorting and Searching: TAOCP 6.2.2 Binary Tree Searching. The reading guides budget about 8 hours.

## Key facts {#key-facts}

- [TAOCP 6.2.2 Binary Tree Searching](https://cracked.guide/guide/knuth-w093-0): Binary search trees: insertion, deletion, the average cost of random BSTs, and optimal BSTs built with dynamic programming when access frequencies are known.
- Phase: TAOCP Vol 3: Sorting and Searching, weeks 90 to 117.
- Updated October 20, 2026.

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

- Implement BST insertion, search and deletion, including two-child deletion.
- Explain why inserting keys in sorted order makes a degenerate tree.
- Use dynamic programming to build an optimal BST from access frequencies.

## This week's tasks {#tasks}

- [TAOCP 6.2.2 Binary Tree Searching](https://cracked.guide/guide/knuth-w093-0): about 8 hours

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

---

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