Indeed interview question

Something about lists and pointers