Data Structured63_q3b_heap_change
Heap Change Value
fbabadfd-4d7e-48d8-a659-16d745b0b5f1.cppC++
1// Loading code...Selected Submission
100 / 100
0.035s
2164 KB
P-QueueHeap
Time Comp.
O(log n)
Space Comp.
O(1)
Readability
6/10
"The code snippet implements a `change_value` function for a custom priority queue. This function modifies an element within the underlying data structure and then calls `fixUp` and `fixDown` to maintain the heap property, indicating a heap-based implementation."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #1 | 100 | 11/2/2024 |