You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Given an array of ints, is it possible to choose a group of some of the ints, beginning at the start index, such that the group sums to the given target? However, with the additional constraint that all 6's must be chosen. (No loops needed.)
//
//groupSum6(0, [5, 6, 2], 8) → true
//groupSum6(0, [5, 6, 2], 9) → false
//groupSum6(0, [5, 6, 2], 7) → false
public boolean groupSum6(int start, int[] nums, int target) {