forked from exercism/racket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
binary-search: use vectors instead of lists for the sorted-data (exer…
…cism#324) * binary-search: use vectors instead of lists for sorted-data. also, return #f when target not found, which is more in line with how the exercise is implemented in other tracks (Common Lisp, Scheme) and `vector-binary-search` in srfi-43 https://docs.racket-lang.org/srfi/srfi-std/srfi-43.html#vector-binary-search
- Loading branch information
Showing
3 changed files
with
32 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters