Hướng dẫn thử thách
1 / 16
Step 1
In a previous lesson, you learned about binary search and how it differs from linear search.
In this workshop, you will put that into practice by building a binary search algorithm.
To begin, create a `binarySearch` function with a `searchList` and `value` parameters.
`searchList` is the array of elements the function will search within, and `value` is the target the function will try to find within the `searchList`.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵