Aptean interview question

Linked list implementation in c