Three friends arrived at a theater and approached the ticket control. Since no one else was present there, the line was empty. The theater allowed only one person to enter at a time. Confident Bob boldly positioned himself right in front of the entrance doors, followed by Alex, while Peter, being shy, took his place at the end of the line. Considering this real-life queue as a queue data structure, which friend will be the first to enter the theater, and which kind of queue operation does this situation correspond to? Choose from the following options:
Queue
Theatre and friends
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.