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

AttemptPoints Time
Try #610010/3/2024
Try #5010/3/2024
Try #477.7810/3/2024
Try #322.2210/3/2024
Try #211.1110/3/2024
Try #1010/3/2024