1. Data StructuresQueues 2. Problem to be SolvedIt is so often necessary to wait one’s turn before havingaccess to something.We may want to simulate a real life situation…