Search for a Range(LintCode 61):

Problem