Data Structured64_q2a_vector_block_swap
Vector Block Swap
491646a5-82d6-4c2b-9dbe-652589e9fe36.cppC++
1// Loading code...Selected Submission
100 / 100
0.113s
2104 KB
ArrayImplementation
Time Comp.
O(m)
Space Comp.
O(m)
Readability
4/10
"The code implements a block swap operation on a custom vector class. It primarily utilizes an array as a temporary storage during the swap, and operates on iterators which are closely tied to the underlying vector (similar to an Array)."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #6 | 100 | 10/3/2024 |
| Try #5 | 0 | 10/3/2024 |
| Try #4 | 77.78 | 10/3/2024 |
| Try #3 | 22.22 | 10/3/2024 |
| Try #2 | 11.11 | 10/3/2024 |
| Try #1 | 0 | 10/3/2024 |