Data Structured60_q2_heap_height
Heap Height
7c956150-852a-424d-b148-4b8422886247.cppC++
1// Loading code...Selected Submission
100 / 100
0.013s
2084 KB
P-QueueHeap
Time Comp.
O(log mSize)
Space Comp.
O(1)
Readability
7/10
"The code implements a priority queue, specifically focusing on calculating its height based on the number of elements. It utilizes a heap-like structure internally to maintain the priority order."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #1 | 100 | 11/1/2024 |