Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions problems/05.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Using the exercise from above as a template, try introducing [binary search](htt
```js
async function binarySearchClosestStats (core, target) {
let lower = 0
let upper = core.length
let upper = core.length - 1

while (lower < upper) {
const mid = Math.floor((upper + lower) / 2)
Expand Down Expand Up @@ -93,4 +93,4 @@ Take a look at the [solution here](/solutions/05/index.js).
## Takeaways
We'll save the takeways for this exercise until after the next one, when we'll be running these algorithms against larger datasets.

[In Problem 6, we'll scale things up.](06.md)
[In Problem 6, we'll scale things up.](06.md)