Data Structured57_q1_sbv2
Stack by Vector 2
c052f438-0698-4fb6-99ad-bb25143e609a.cppC++
1// Loading code...Selected Submission
0 / 100
0s
KB
StackArray
Time Comp.
O(1) for push, pop, top, size. O(n) for deep_push and pop_until.
Space Comp.
O(n)
Readability
7/10
"The code implements a stack data structure using a vector as the underlying container. The core functionality revolves around push, pop, top, and size operations, which are characteristic of stacks."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #2 | 0 | 10/4/2024 |
| Try #1 | 100 | 10/4/2024 |