Example array : {0,1,1,1,-5,2,-4} .
Answer = {1,1,-5,2,-4} is the largest subarray whose sum is odd.
Rules :
1)Explanation of algorithm in your answer is a must .
2)Writing code is optional .
3)If code is written , make sure to you use format option from the editor .