Ad
  • Custom User Avatar

    I made it clearer now I believe. I also included an image.

    If this is no longer an issue could you mark as solved please? Thank you.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I have never used Java before (I wrote the JavaScript version of the code), but might it have something to do with the fact that isTriangleNumberDP is using an int in the for loop instead of a Long?