Ad
  • Custom User Avatar

    Test case 3 in C# are the random test. The problem with your solution is that you are trimming and cleaning the string while the reference solution just takes everything as a "word" which is between two spaces. While I admit that the task is a bit underspecified and the test case construction is not optimal, the issue hereby is that your solution does too much and therefor does not pass.