Qualcomm Interview Question

Delete from linkedlist, given position and key implement queue using stacks