Ad
  • Default User Avatar

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

  • Default User Avatar
  • 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?

  • 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?