Might be interesting for Leetcoders <https://medium.com/@avuzia/kotlin-refactoring-smart-tree-traver...