Cisco interview question

some coding questions and DS problems