Data Structured64_q3b_queue_reverse
Queue Reverse
7cb4424e-2570-433b-8e4e-097aef836112.cppC++
1// Loading code...Selected Submission
100 / 100
0.036s
7648 KB
ArrayImplementation
Time Comp.
O(n)
Space Comp.
O(1)
Readability
6/10
"The code implements a circular queue with a `reverse` function that swaps elements within a specified range. The core data structure is an array used to store the queue's elements, and the `at` function handles the circular indexing."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #3 | 100 | 10/18/2024 |
| Try #2 | 0 | 10/18/2024 |
| Try #1 | 0 | 10/18/2024 |