Files
grokking_algorithms/04_quicksort/javascript
Poliakov Ilia 00b28478ce Update 04_recursive_max.js with fix for alternative solution (#262)
* Update 04_recursive_max.js with fix for alternative solution

Current alternative solution works only for arrays of natural numbers and for empty arrays it returns 0 instead of null or Error. This commit fixes these problems.

* Considering comments from the author

---------

Co-authored-by: Ilia Poliakov <ilia.poliakov@macys.com>
2024-12-07 07:44:23 -06:00
..
2023-08-08 18:09:34 -05:00