Find an input substring in the spell "Wingardium Leviosa" and print its starting index.
If there's no such substring, output -1.
Find an input substring in the spell "Wingardium Leviosa" and print its starting index.
If there's no such substring, output -1.
Sample Input 1:
LeviosaSample Output 1:
11Sample Input 2:
LeviOsaSample Output 2:
-1Create a free account to access the full topic