We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c521136 commit 564a7d5Copy full SHA for 564a7d5
Ordered Set/README.md
@@ -116,7 +116,7 @@ The next function is the `findIndex` function which takes in an item of type `T`
116
117
j = mid
118
119
- // check right side of mid
+ // check left side of mid
120
while j > 0 && !(internalSet[j] < internalSet[j - 1]) {
121
if internalSet[j - 1] == item {
122
return j - 1
@@ -146,7 +146,7 @@ The code to check the left and right side are similar so we will only look at th
146
``` swift
147
148
149
150
151
152
0 commit comments