Cisco interview question

Design questions, coding