Google interview question

Implement stack using linked list