Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Quality of random tests is not good enough:

    • Random tests almost never generate a palindrome longer than 1,
    • for (int i = 0; i < (int)(Math.random() * 10) + 1; i++) is wrong,
    • Some more and less relevant details making the translation obsolete and not conforming to todays standards.

    Anyone, feel free to fork and improve.