changgyhub / leetcode_101

LeetCode 101:力扣刷题指南
8.57k stars 1.16k forks source link

纠错 #17

Closed shaoshuai-luo closed 3 years ago

shaoshuai-luo commented 3 years ago

page17 4.4旋转数组查找数字

  1. Search in Rotated Sorted Array (Medium)给出的解析中,mid取值方法 int mid = (start + end) /2;可能会造成溢出,可以更改为int mid = left + ((right-left)>>1);
changgyhub commented 3 years ago

谢谢,已更改