Ad
  • Default User Avatar

    This would solve issues with empties created from splits on pesky spaces, but doesn't handle the scenario where the string ONLY contains a space (which isn't eleminated as a possibility in the brief), which would result in Min failing due to no elements in the sequence.

    Assert.AreEqual(0, Kata.FindShort(" "));

  • Custom User Avatar

    Constraints: input.length => 0

  • Custom User Avatar

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