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.
I said that it doesn't do uneeded ones. Not that it doesn't do them at all.
Many of the solutions here (like querty's) do two additions per comparison instead of caching one.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Apple and Orange
You are viewing a single comment's thread. Return to all comments →
I said that it doesn't do uneeded ones. Not that it doesn't do them at all. Many of the solutions here (like querty's) do two additions per comparison instead of caching one.