Amazon Interview Question Software Engineer / Developers
- 0of 0 votes
write a function which takes a string S and a pattern string P and an integer i , and returns the i'th occurrence of P in S.
example S = "abcabcefgabc " , P = "abc" , i =3 , ..returns 10
Interview Type: Written Test