Maximum sum of consecutive odd numbers
Given an array arr[], the task is to find the difference between maximum and minimum summations of consecutive odd elements in arr[]. Note: If there are no odd numbers present, return -1. Examples: Input: arr[] = {1, 2, 3, 4, 3, 5}Output: 7Explanation: The difference is 7 between minimum summation (