Queue Balancing Challenge

Company: Flipkart_18thjuly

Difficulty: medium