...

/

Challenge 1: Replica of PHP's "max" Function

Challenge 1: Replica of PHP's "max" Function

Test your knowledge by writing a replica function of PHP's max function.

Problem statement

Write a version of PHP’s max function called _max that utilizes the fold operation of the bingo-functional library. Ensure that only non-negative integers are compared and other value types evaluate to ...