IBM interview question

Tuple list string