length_of_longest_substring.rb
Ruby 4.0
Not run yet
+ 8 hidden
Input
s = "streetcar"
Expected
5
The double e breaks the word up. After it, "etcar" has five different characters.
+ 8 hidden
s = "streetcar"
5
The double e breaks the word up. After it, "etcar" has five different characters.