Question Description. Link
Given an array of integers, find the pair of adjacent elements that has the largest product and return that product.
- For
inputArray = [3, 6, -2, -5, 7, 3], the output should beadjacentElementsProduct(inputArray) = 217and3produce the largest product.