We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6f3347 commit 842cf9fCopy full SHA for 842cf9f
1 file changed
javascript/4_array-programs/findRotationCount.js
@@ -84,10 +84,10 @@
84
85
// Decide the side to search
86
if (arr[mid] >= arr[start]) {
87
- // The rotation point is in the right half
+ // The rotation point is in the right half
88
start = mid + 1;
89
} else {
90
- // The rotation point is in the left half
+ // The rotation point is in the left half
91
end = mid - 1;
92
}
93
0 commit comments