Data Structured67_q2a_vector_multi_uniq

Vector Multi Unique

392ba2f7-9a7a-4bf4-9f8c-7ad047ee1248.cppC++
1// Loading code...

Selected Submission

100 / 100
0.386s
6624 KB
HashMapArray
Time Comp.
O(n log n)
Space Comp.
O(n)
Readability
4/10

"The code utilizes a map to store unique elements and their iterators, and a vector to keep track of indices to delete. This suggests the use of both Hash Map and Array data structures to achieve the desired functionality of removing duplicate elements from a vector."

History

AttemptPoints Time
Try #210010/7/2024
Try #13010/7/2024