give integer array num integer k return maximum sum nonempty subsequence array consecutive integer subsequence numsi numsj j condition j k satisfiedA subsequence array obtain delete number element zero array leave remain element original order Example 1input num 10210520 k 2output 37explanation the subsequence 10 2 5 20example 2input num 123 k 1output 1explanation the subsequence nonempty choose large numberexample 3input num 10210520 k 2output 23explanation the subsequence 10 2 5 20 Constraints1 k numslength 105104 numsi 104