Minimum Subsequence in Non-Increasing Order
Pick the smallest group of numbers whose total is larger than the rest, taking the largest values first. The visual stacks sorted bars and compares the running sum with the remaining sum.
Pick the smallest group of numbers whose total is larger than the rest, taking the largest values first. The visual stacks sorted bars and compares the running sum with the remaining sum.