Implementing an optimized Trie in Kotlin or a short story on why I love Kotlin. Before reading on, make sure you understand how Tries work (not explained here). E.g.: Wikipedia, Article 1, Article 2 ... TL;DR go straight to the code: https://github.com/1gravity/kotlin-trie. Node A typical node looks like this (Wikipedia): structure…