SS8 Networks interview question

Basic linked list and string