300x250 adjacentElementsProduct1 Codesignal - adjacent Elements Product Given an array of integers, find the pair of adjacent elements that has the largest product and return that product. Example. For inputArray = [3, 6, -2, -5, 7, 3], the output should be adjacentElementsProduct(inputArray) = 21. 7 and 3produce the largest product. Input/Output [execution time limit] 20 seconds (swift) [input] array.integer inputArrayGuaranteed constraints: 2 ≤ inputArray.length ≤.. 2021. 4. 27. 이전 1 다음 300x250