Antra Interview Question

build a linked list from struct