Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Print inputs.
This comment is hidden because it contains spoiler information about the solution
I have such error after testing: https://freeimage.host/i/hzEJl1https://freeimage.host/i/hzEARs
and if link expired, here you have transcript:
'''
Testing for:
s = "+8j4
R_gG
41a0,jC9!yL7*v'\<8x}oyJxzE3560pH5FR=jSgpgs~2f=:?$%4sb_Z[a4DJCzW+~1ET3}0<#gb]LxK{*BYjVxPM)]]4Hexpected 30 to equal 27
'''
so does it mean that the string itself has a double quote mark (") in it at the beginning?
in other examples theres opening and closing quotation mark, but now always (as above), so it's confusing...
in the string 'hchzvfrkmlnozjk' author suggest that answer should be 'chzvfrkmlno' (11 chars) but it can be also 'vfrkmlnozjk' (also 11 chars). I think that theres no other possibility to get longer substring...
so @R-N-Wata, theres no way to include 'j' and have more than 11chars
Got it thank you
misunderstood examples
Read the posts below: https://www.codewars.com/kata/5bcd90808f9726d0f6000091/discuss#629cb8ce24b98138b7fe4a9c
How do you pass this test? test.assert_equals(longest_substring("hchzvfrkmlnozjk"), 11,"'chzvfrkmlno' is the longest substring.")
where is J here? what are you unable to do?
Are there hidden conditions?
Description not complete?
Help me I'm new here