Calsoft interview question

how to create a list