Subset Sum Visualizer
Step through the DP table — watch each cell fill and the subset get reconstructed
Pseudocode

      
Press Next to begin
DP Table — dp[i][s] = can we form sum s using first i numbers?
nums[]
result[] — reconstructed subset
Variables
Edit Input