Cisco interview question

Tree walking code analysis