change the error in the comment & the problem of searching in the rotated array when duplicate is allowed