Data Structured60_q2_split_queue
Split Queue
83504ff5-feb6-4b2c-80cb-30b43a6229f7.cppC++
1// Loading code...Selected Submission
100 / 100
0.045s
5308 KB
DequeArray
Time Comp.
O(N*k)
Space Comp.
O(N)
Readability
5/10
"The code implements a custom queue class and includes a function to split the queue into k sub-queues. The core data structure used is a queue, and the splitting operation involves array-like access to the underlying data."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #6 | 100 | 10/18/2024 |
| Try #5 | 0 | 10/18/2024 |
| Try #4 | 100 | 10/18/2024 |
| Try #3 | 100 | 10/18/2024 |
| Try #2 | 100 | 10/18/2024 |
| Try #1 | 100 | 10/18/2024 |