You are viewing a single comment's thread. Return to all comments →
This can be done (at least in C) with sqrt(n) decomposition instead of HLD, but it's close and micro-optimizations count.
Seems like cookies are disabled on this browser, please enable them to open this website
Fibonacci Numbers Tree
You are viewing a single comment's thread. Return to all comments →
This can be done (at least in C) with sqrt(n) decomposition instead of HLD, but it's close and micro-optimizations count.