Pergunta de entrevista da empresa TuSimple

Transfer a general tree to a binary tree by certain rules.