Reddit interview question

Non-Binary Tree Traversal in Swift