Data Structured63_q1b_list_erase

Vector List Erase

244735e8-b77c-4540-8aa6-ac63974d6f50.cppC++
1// Loading code...

Selected Submission

100 / 100
0.116s
9388 KB
ArrayImplementation
Time Comp.
O(n)
Space Comp.
O(n)
Readability
6/10

"The code primarily uses a vector to store and manipulate a list of integers, and a separate vector to store indices to be removed. The `list_erase` function effectively filters the original vector based on the indices provided, demonstrating array manipulation."

History

AttemptPoints Time
Try #21008/28/2024
Try #11008/28/2024