educated-guess.com
On Compressing Trees with Prüfer Codes
Imagine you’re a lumberjack, and you want to ship a whole forest to some far away place. You’d want to make sure you pack it as tight as you can. No, wait. Imagine you’re a softwa…