JavaScript:实现已递归的方式找到一个数字数组的最大值算法
/**
* @function findMaxRecursion
* @description This algorithm will find the maximum value of a array of numbers.
* @param {Integer[]} arr Array of numbers
* @param {Integer} left Index of the first element
* @param {Integer} right Index of the last element
*
* @return {Integer} Maximum value of the array
*
*
* @example findMaxRecursion([1, 2, 4, 5]) = 5
* @example findMaxRecursion([10, 40, 100, 20]) = 100
* @example findMaxRecursion([-1, -2, -4, -5]) = -1
*/
function findMaxRecursion (arr