USACO 2019 December Contest, Platinum Problem 3. Tree Depth
USACO 2019 December Contest, Platinum Problem 3. Tree Depth For the new year, Farmer John decided to give his cows a festive binary search tree (BST)! To generate the BST, FJ starts with a permutat...