Created
August 30, 2020 17:36
-
-
Save trunkslamchest/c07d02a15a89a013943552fae06590c2 to your computer and use it in GitHub Desktop.
blog30_solution2.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var minSubsequence = function(nums) { | |
let sum = nums.reduce((a, b) => a + b ) | |
let subSum = 0 | |
let sub = [] | |
// sort nums from least to greatest | |
nums.sort((a, b) => a - b) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment