We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This is almost completely identical to mine minus the variable names. Is there a reason you did n>>1 instead of n/2? I can't see any noticeable improvement performance wise and it isn't as readable.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Viral Advertising
You are viewing a single comment's thread. Return to all comments →
This is almost completely identical to mine minus the variable names. Is there a reason you did n>>1 instead of n/2? I can't see any noticeable improvement performance wise and it isn't as readable.