Qualcomm interview question

white board: implement a queue/fifo with push/pop functionality using linked lists