Combination Sum IV
Backpack VI (LI.564)
Example
I: sizes = [1,2,4], target = 4
O: [ [1,1,1,1], [1,1,2], [1,2,1], [2,1,1], [2,2], [4] ] = 6State Graph

Code
Better Code
Combination Sum IV (LC.377)
Example
Analysis
Approach
Code
Better Code
Time & Space Complexity
Last updated