Invert a binary search tree (with tests) | Hacker News Reader