Problem 2475. Case-insensitive Character Detection

Find the index of a particular character in a string ignoring case.


 Input:   x = 'aAbhhfdf'
          n = 'a'
 Output:  1 2

Because in x, at position 1 and 2 , we have a (ignoring case)

Solution Stats

70.83% Correct | 29.17% Incorrect
Last Solution submitted on Oct 17, 2019

Solution Comments

Problem Recent Solvers29

Suggested Problems

More from this Author70