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.
Finally get what duplicates actually means here. To begin with, the answer set should be distinct. But if you're stuck with #7, you might want to know that any answer should contain no repeating elements to be valid (e.g. [1651, 5151, 5151, 5192, 9216] is not an answer for any input).
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #61: Cyclical figurate numbers
You are viewing a single comment's thread. Return to all comments →
Finally get what duplicates actually means here. To begin with, the answer set should be distinct. But if you're stuck with #7, you might want to know that any answer should contain no repeating elements to be valid (e.g.
[1651, 5151, 5151, 5192, 9216]
is not an answer for any input).