From 4584a5655ebd970a33cc89568a1ff19c03e73d87 Mon Sep 17 00:00:00 2001 From: IcarusTheFly Date: Sat, 14 Oct 2023 20:32:17 +1100 Subject: [PATCH] Remove code not needed --- Search/InterpolationSearch.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Search/InterpolationSearch.js b/Search/InterpolationSearch.js index 6ca3eea963..7097e90986 100644 --- a/Search/InterpolationSearch.js +++ b/Search/InterpolationSearch.js @@ -36,11 +36,4 @@ export function interpolationSearch (arr, key) { } return -1 -} - -// const arr = [2, 6, 8, 10, 12, 14, 16, 18, 20, 22, 26, 34, 39] - -// interpolationSearch(arr, 2) -// interpolationSearch(arr, 12) -// interpolationSearch(arr, 1000) -// interpolationSearch(arr, 39) +} \ No newline at end of file