Antra interview question

build a linked list from struct