You are viewing a single comment's thread. Return to all comments →
It's O(log n). Conversion to binary can be done in log n steps and then then length of the binary number is also log n.
Seems like cookies are disabled on this browser, please enable them to open this website
Counter game
You are viewing a single comment's thread. Return to all comments →
It's O(log n). Conversion to binary can be done in log n steps and then then length of the binary number is also log n.