Cisco Interview Question

Technical question involved string manipulation & linked list