You are developing a program to manage the seating arrangement in a movie theater with rows and columns. How would you represent the seats using arrays?

  • 1D Array
  • 2D Array
  • Linked List
  • Queue (FIFO)
Seats in a theater can be efficiently represented using a 2D array, with rows and columns, making it easy to access and manage each seat's status.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *