Highest Value Palindrome

  • + 6 comments

    Downvoted -- I solved it in under an hour. It wasn't that hard -- just needed to find the right test case. The test case from Svr_Aditya_Reddy (referencing abzalovim) should be sufficient to tell you how to do it.

    8 4 1111911 => 91199119

    And a case of my own for the other part: 3 2 329 => 999