Cisco interview question

Write a binary tree in Swift.