TIAA interview question

2.Data structures question on stack,queue,array