OK native replay: 24 frames
0 | values #() | path #() | Ready: root = nil
1 | values #(20 40 60) | path #() | Three objects: 20 < 40 < 60; leaves have nil children
2 | values #(20 30 40 60) | path #() | Inserted 30 at depth 2
3 | values #(20 30 40 50 60) | path #() | Inserted 50 at depth 2
4 | values #(10 20 30 40 50 60) | path #() | Inserted 10 at depth 2
5 | values #(10 20 30 40 50 60 70) | path #() | Inserted 70 at depth 2
6 | values #(10 20 30 40 50 60 70) | path #() | Duplicate 30: tree unchanged
7 | values #(10 20 30 40 50 60 70) | path #() | Ready to compare 30 with root
8 | values #(10 20 30 40 50 60 70) | path #(40) | 30 vs 40: take left
9 | values #(10 20 30 40 50 60 70) | path #(40 20) | 30 vs 20: take right
10 | values #(10 20 30 40 50 60 70) | path #(40 20 30) | Found 30 after 3 comparisons
11 | values #(10 20 30 40 50 60 70) | path #(40 20 30) | Found 30 after 3 comparisons
12 | values #(10 20 30 40 50 60 70) | path #() | Ready to compare 55 with root
13 | values #(10 20 30 40 50 60 70) | path #(40) | 55 vs 40: take right
14 | values #(10 20 30 40 50 60 70) | path #(40 60) | 55 vs 60: take left
15 | values #(10 20 30 40 50 60 70) | path #(40 60 50) | Missing 55: reached nil after 3 comparisons
16 | values #(10 20 30 40 50 60 70) | path #(40 60 50) | In-order: left subtree, node, right subtree
17 | values #(10 20 30 40 50 60 70) | path #(40 60 50) | In-order: left subtree, node, right subtree
18 | values #(10 20 30 40 50 60 70) | path #(40 60 50) | VALID: strict order, unique objects, bounded depth, nil leaves
19 | values #(10 20 30 40 50 60 70) | path #(40 60 50) | Input rejected: use decimal digits and optional minus
20 | values #() | path #() | Reset: root = nil; search and traversal cleared
21 | values #() | path #() | Reset: root = nil; search and traversal cleared
22 | values #() | path #() | In-order: left subtree, node, right subtree
23 | values #() | path #() | Reset: root = nil; search and traversal cleared
