Data Structured65_q2b_split_stack
Split Stack
168b7907-ba4d-4411-a2b9-ac5394a2f7e9.cppC++
1// Loading code...Selected Submission
100 / 100
0.141s
17520 KB
StackArray
Time Comp.
O(N)
Space Comp.
O(N)
Readability
6/10
"The code utilizes a stack (through the `CP::stack` class) and manipulates its data using a vector of vectors to split the stack into `k` parts. The core data structure involved is a vector, used both for the underlying stack data and for storing the split stacks."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #1 | 100 | 10/5/2024 |