Find the Highest Integer in the List Using Recursion

Published by Myroslav Pituley in

Create a function that finds the highest integer in the list using recursion.

Examples

find_highest([-1, 3, 5, 6, 99, 12, 2]) ➞ 99

find_highest([0, 12, 4, 87]) ➞ 87

find_highest([8]) ➞ 8

Notes

Please use the recursion to solve this (not the max() method).

Watch a quick demo on how Edabit works.