similar than 153, but need to takte care of Error No.2

Error:

  1. Do not understand duplicate, it means that we will have a situation which left and right are equal
  2. do not take care of mid == left, mid == right, left == right, since at that time we do not know which pare has minimum, just reduce bounds.