AMD interview question

Implement a linked list. How do you allocate memory