J.P. Morgan Interview Question

Given an array, return the combination of elements that yields the max sum.

Interview Answer

Anonymous

Jun 6, 2023

Add all the positive elements in the array.