Ad
  • Default User Avatar

    There are some serious issues in your pageItemCount() solution, so I'd like to give these hints:

  • Custom User Avatar

    Some test cases proposed by @tannah should be added to the problem.

    At least these 3

    Test.assertEquals(sumStrings('0', '0'), '0');
    Test.assertEquals(sumStrings('0001', '002'), '3');
    Test.assertEquals(sumStrings('712569312664357328695151392712569312664357328695151392', '1'), '712569312664357328695151392712569312664357328695151393');

  • Custom User Avatar

    I believe, some of these should be added to problem test cases especially

    Test.assertEquals(sumStrings('0', '0'), '0');
    Test.assertEquals(sumStrings('0001', '002'), '3');
    Test.assertEquals(sumStrings('712569312664357328695151392712569312664357328695151392', '1'), '712569312664357328695151392712569312664357328695151393');

    I'll file an issue for this