Task: Implement a Constant-Time Min Queue
Task: Implement a Constant-Time Min Queue: a task in Terminal-Lego-15k (Harbor dataset). Implement a queue data structure that supports the following three operations, all in O(1) constant time complexity :
The task
Implement a queue data structure that supports the following three operations, all in **O(1) constant time complexity**:
Part of PrimeIntellect/Terminal-Lego-15k.