mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
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:
@@ -35,6 +35,6 @@ export const isAutomorphic = (n) => {
|
||||
n = Math.floor(n / 10)
|
||||
n_sq = Math.floor(n_sq / 10)
|
||||
}
|
||||
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user