0 like 0 dislike
165 views
Example :

K = 4

Array : 3 -6 8 88 9 100 2 200

Answer :  391 (3+88+100+200) , None the selected "K" numbers are adjacent and have maximum possible sum!
in Algorithms and Problems by Expert (17,730 points) | 165 views

Please log in or register to answer this question.