Data Structured64_q2b_stack_distribute
Stack Distribute
fe06e695-5acf-4eff-9aef-74ae64ca662c.cppC++
1// Loading code...Selected Submission
100 / 100
0.179s
46924 KB
Array
Time Comp.
O(n)
Space Comp.
O(n)
Readability
6/10
"The code distributes elements of a vector into `k` sub-vectors, handling cases where the size is not perfectly divisible by `k`. It primarily uses a vector to store and manipulate data, making "Array" the most relevant tag."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #9 | 100 | 10/4/2024 |
| Try #8 | 100 | 10/4/2024 |
| Try #7 | 0 | 10/4/2024 |
| Try #6 | 0 | 10/4/2024 |
| Try #5 | 0 | 10/4/2024 |
| Try #4 | 0 | 10/4/2024 |
| Try #3 | 0 | 10/4/2024 |
| Try #2 | 0 | 10/4/2024 |
| Try #1 | 0 | 10/4/2024 |