Data Structured64_q2a_stack_from_set
Stack From Set
8b26a0f3-7393-4778-a2fe-303ebc14f73a.cppC++
1// Loading code...Selected Submission
100 / 100
0.281s
9676 KB
StackArray
Time Comp.
O(n)
Space Comp.
O(n)
Readability
6/10
"The code implements a stack data structure using a dynamically allocated array. It utilizes iterators from a `std::set` to initialize the stack, indicating an understanding of container adaptors."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #6 | 100 | 10/6/2024 |
| Try #5 | 100 | 10/6/2024 |
| Try #4 | 20 | 10/6/2024 |
| Try #3 | 30 | 10/6/2024 |
| Try #2 | 0 | 10/6/2024 |
| Try #1 | 0 | 10/6/2024 |