Cisco Interview Question

I was given 3 coding questions