Data Structured60_q1_v_uniq

Vector Unique

d6371182-ec62-48c2-88fb-ca40003ae472.cppC++
1// Loading code...

Selected Submission

90 / 100
0.071s
9940 KB
HashMapArray
Time Comp.
O(n)
Space Comp.
O(n)
Readability
4/10

"The code utilizes an unordered map to efficiently track the presence of elements in a vector, effectively removing duplicates. It also uses a boolean array to mark elements for removal, indicating array usage as well."

History

AttemptPoints Time
Try #5909/20/2024
Try #41009/20/2024
Try #31009/20/2024
Try #2109/20/2024
Try #109/20/2024