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.
Well, determining whether is integer probably requires some variation of the Euclidean algorithm in your chosen language's implementation of the remainder (or quotient) operator. Some iteration is needed, we just don't need to write it.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Number Line Jumps
You are viewing a single comment's thread. Return to all comments →
Well, determining whether is integer probably requires some variation of the Euclidean algorithm in your chosen language's implementation of the remainder (or quotient) operator. Some iteration is needed, we just don't need to write it.