Interview Report
- -2of 2 votes
AnswersGiven a sorted array (e.g. arr = { 0, 0, 0, 0, 1, 3, 5 }) which has been rotated clockwise less than arr.length times, return the number of rotated times.
- jiangok2006 October 20, 2013 in United States| Report Duplicate | Flag | PURGE
- 1of 1 vote
AnswersGiven a sorted array where only number occurs once and others occur twice. e.g. arr = { 0, 0, 1, 1, 2, 4, 4, 5, 5}. Find the number occurring once in o(lgn)
- jiangok2006 October 20, 2013 in United States| Report Duplicate | Flag | PURGE
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.