Question: 3. Choose the most appropriate data structure (a. Linked list; b. Stack; c. Queue; d Binary tree; e: Directed graph) to model each of the
3. Choose the most appropriate data structure (a. Linked list; b. Stack; c. Queue; d Binary tree; e: Directed graph) to model each of the following aggregations of data. (10pts) i. An infix arithmetic expression ii. The titles of movies playing at a theater for each day of the year. Assume that iii. iv. v. no more than one different movie plays during a single day. people waiting in line to see a doctor all the flights that an airline flies A deck of cards in a card game where players take cards from the top of the deck and place cards on the top of the deck
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
