Cisco Interview Question

Write a binary tree in Swift.