Ad
  • Default User Avatar

    EDIT: Nvm i just missunderstood the sorting thing

    This seems to have a Bug in the sorting.

    "In the result, substrings will be in decreasing order of their length and when they have the same length sorted in ascending lexicographic order"

    means that with these 2 sentences:

    "looping is fun but dangerous"
    "less dangerous than coding"

    it should output "1:ooo/1:uuu/2:sss/=:nnn/1:ii/2:ee/2:dd/2:aa/=:gg" because the e comes before d and a in sentence 2
    but the Test says it has to be "1:ooo/1:uuu/2:sss/=:nnn/1:ii/2:aa/2:dd/2:ee/=:gg" were a comes first then d then e

    it follows no logical order

  • Default User Avatar

    C#
    in my IDE it worked all fine...
    when i click Test it says All Tests passed (There is only Test1 Basic Test)
    when i click Attemp it says Test1 Basic Test failed and Test 2 passed (InvalidOperationException:Sequence contains no elements)

    PLZ help me >.<