Adding solution find_minimum in rotated sorted array in cpp