Data Structured58_q1_erase_many
Erase Many from Vector
8b61bb20-d7c0-4579-8e82-f711a03437da.cppC++
1// Loading code...Selected Submission
100 / 100
0.041s
2440 KB
Array
Time Comp.
O(N)
Space Comp.
O(N)
Readability
5/10
"The code implements a custom vector class and provides a function to erase multiple elements at specified positions. It fundamentally relies on array manipulation for storage and resizing, making "Array" the primary algorithmic concept."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #11 | 100 | 9/20/2024 |
| Try #10 | 100 | 9/20/2024 |
| Try #9 | 60 | 9/20/2024 |
| Try #8 | 0 | 9/20/2024 |
| Try #7 | 0 | 9/20/2024 |
| Try #6 | 0 | 9/20/2024 |
| Try #5 | 60 | 9/20/2024 |
| Try #4 | 60 | 9/20/2024 |
| Try #3 | 60 | 9/20/2024 |
| Try #2 | 60 | 9/20/2024 |
| Try #1 | 0 | 9/20/2024 |