Alternate Sum for java script
Answers
Answered by
1
Alternate here means for example: on pending 0th index has value 5, similarly on delivered is 10 and on failed is 15. Their total sum is 30. Here, the maximum value in the above example is 500 on the 4th index after summing them and that's what I want.
Similar questions