TATA ELXSI interview question

2 Dsa questions on Arrays Theory on LinkedList, queue and stack