Ad
  • Custom User Avatar

    No, it never enters the else branch.

  • Custom User Avatar

    Remember to mark your posts as having spoiler content when they do. What happens in your code if there is no vowel?
    @KenKamau, check the random testing suite, it throws errors (not always) and it wasn't for the user's code.

    System.InvalidOperationException : Sequence contains no elements
     Stack Trace
       at System.Linq.Enumerable.Max(IEnumerable`1 source)
       at Solution.Tests.SolutionSolver(String s)
       at Solution.Tests.RandomTests()
    
  • Default User Avatar

    can you post your code? someone will help.