Data Structured62_q3b_kheap_height
K-ary Heap Height
f3b92bf9-3d26-4f1c-8f89-b7f713b5380b.cppC++
1// Loading code...Selected Submission
100 / 100
0.001s
1524 KB
Implementation
Time Comp.
O(1)
Space Comp.
O(1)
Readability
6/10
"The code primarily uses mathematical functions (log, ceil) to calculate a height based on input size and base. There are no complex data structures involved; it's a straightforward calculation."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #4 | 100 | 11/3/2024 |
| Try #3 | 80 | 11/3/2024 |
| Try #2 | 80 | 11/3/2024 |
| Try #1 | 80 | 11/3/2024 |