You are viewing a single comment's thread. Return to all comments →
In Hackerrank, testcase 16 with below input is failing with your code above.
Input 106 muqqzbcjmyknwlmlcfqjujabwtekovkwsfjrwmswqfurtpahkdyqdttizqbkrsmfpxchbjrbvcunogcvragjxivasdykamtkinxpgasmwz
Expected Output 6
But i get "Wrong answer".
Please throw some light on your logic.
Seems like cookies are disabled on this browser, please enable them to open this website
Two Characters
You are viewing a single comment's thread. Return to all comments →
In Hackerrank, testcase 16 with below input is failing with your code above.
Input 106 muqqzbcjmyknwlmlcfqjujabwtekovkwsfjrwmswqfurtpahkdyqdttizqbkrsmfpxchbjrbvcunogcvragjxivasdykamtkinxpgasmwz
Expected Output 6
But i get "Wrong answer".
Please throw some light on your logic.