Find the longest even sum in array

前端 未结 0 1785
北海茫月
北海茫月 2021-01-12 22:51

I\'m trying to solve a question which takes an array of size n, and find the longest range of numbers in the array which have an even sum.

For example, for the array:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题