prettier fixes & added test cases for Project Euler problem 4 (#1566)

* 📦 NEW: Added solution for ProjectEuler-007

* 🐛 FIX: Spelling mistake fixes

* 👌 IMPROVE: changed variable name from `inc` to `candidateValue` and thrown error in case of invalid input

* 👌 IMPROVE: Modified the code

* 👌 IMPROVE: Added test case for ProjectEuler Problem001

* 👌 IMPROVE: Added test cases for Project Euler Problem 4

* 👌 IMPROVE: auto prettier fixes

---------

Co-authored-by: Omkarnath Parida <omkarnath.parida@yocket.in>
This commit is contained in:
Omkarnath Parida
2023-10-24 22:49:37 +05:30
committed by GitHub
parent fb134b10b0
commit 9a875264cc
7 changed files with 49 additions and 38 deletions

View File

@@ -36,4 +36,4 @@ export function interpolationSearch(arr, key) {
}
return -1
}
}