Practice
Learn
← Quit
0 / 0 correct
Data Structures
Hard
1 of 20
What is binary lifting used for?
A
Converting trees to arrays
B
Balancing BSTs
C
Sorting binary numbers
D
Answering k-th ancestor and LCA queries in O(log n) after O(n log n) preprocessing