Amazon Interview Report
- 0of 0 votes
Answersgiven an array A which has only 0's and 1's in sorted order , find the occurrence of first '1' in A.
- mohangupta13 February 25, 2012 in India for Kindle
example : A [] = 00001111 , returns 5 .| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
Answerswrite 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.
- mohangupta13 February 25, 2012 in India for Kindle
example S = "abcabcefgabc " , P = "abc" , i =3 , ..returns 10| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.