* fix: remove repl.it links english
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* fix: add extra line
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
* simplifying the mathematical solution
We don't need to sort the two number array, using Math.abs() we can get the count of the numbers in range and calculate the sum.
* Remove previously relevant info regarding sort()
* Clarify code for better readability
* change let to const according to review
* added missing semicolon