Solutions for Superincreasing
View the challenge

This challenge requires you to determine if every element in an array is greater than the sum of all the previous elements. We'll solve this by simply looping through the array while keeping a running sum stored in a variable and checking each element in the array against this sum.

You need to be a member to see the rest of this solution and code.