3 ms·
REE developer here. REE's solution is almost the same. Except we don't align heaps; we identify the containing heap using binary search instead.
by FooBarWidget 15y ago
REE developer here. REE's solution is almost the same. Except we don't align heaps; we identify the containing heap using binary search instead.