Teradata interview question

Basic Programming question on LinkedList and strings