Ad
  • Default User Avatar

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

  • Default User Avatar
  • Custom User Avatar

    I don't do much C++, but follow these guidelines and maybe someone else can take a look.

  • Default User Avatar

    yeah thanks i fixed it.
    there was one small issue if you have time to help,
    that in random test cases my code's output and excpected output didn't match though when i ran code on visual studio
    on my local machine it returned the expected output.
    any idea what can be the problem?

  • Custom User Avatar

    Capital letters have a lower ASCII code. Not a kata issue.

  • Default User Avatar

    Expected: equal to "Lets"
    Actual: "a
    l***l"

    i thought we were suppose to sort them alphabetically.
    yes based on ascii values "Lets" comes first, but alphabetically "all" comes first.

    can someone clear me which one I should go with?