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.
For me, I looked for a pattern and wrote my algorithm based on that pattern. Still not as efficient if it ends up being the last # is the sq integer as my pattern was based on differences between each sq integer.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Squares
You are viewing a single comment's thread. Return to all comments →
For me, I looked for a pattern and wrote my algorithm based on that pattern. Still not as efficient if it ends up being the last # is the sq integer as my pattern was based on differences between each sq integer.