Cisco interview question

coding question Data structures and ADA