My same code is giving correct answer for an input(A : [ [31, 83, 65, 30, 15] [66


#1

My same code is giving correct answer for an input(A : [ [31, 83, 65, 30, 15] [66, 89, 0, 43, 15] ]) as 146 on ideone but here it is giving different answer 132…Please help or fix the matter…