Hi guys I've some homework if you can help me out with this, I believe it's something to do with arrays but I have no idea how to word this. Thanks in advance.
POP is a famous game among school boys. Player one will put the ball one by one and each ball will locate on top of each other. The Very first ball is located in the bottom of the tube and last ball is located in the top.
Player 2 will fire the ball which is located in the top of the tube. Then the next ball become the top.
Q) Identify and properly justify the most suitable data structure with their operations for above requirement