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
-**Time Complexity:**`O(N*W)`. [where ‘N’ is the number of weight element and ‘W’ is capacity. As for every weight element we traverse through all weight capacities 1<=w<=W.]
70
73
-**Auxiliary Space :**`O(N*W)`. [The use of 2-D array of size `‘N*W’`.]
0 commit comments