Data Structured65_q4a_list_check
List check
75252d4e-613c-490a-af3b-1acd5ad1cf59.cppC++
1// Loading code...Selected Submission
100 / 100
0.067s
2040 KB
Linked ListStack
Time Comp.
O(n)
Space Comp.
O(n)
Readability
6/10
"The code implements a circular linked list and checks its integrity by traversing it both forward and backward, using a stack to compare the forward and backward traversals. The core data structure is a linked list, and a stack is used for verification."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #6 | 100 | 11/16/2024 |
| Try #5 | 50 | 11/16/2024 |
| Try #4 | 50 | 11/16/2024 |
| Try #3 | 50 | 11/16/2024 |
| Try #2 | 0 | 11/16/2024 |
| Try #1 | 0 | 11/16/2024 |