Ones and Zeroes


In Approach #5 Dynamic Programming:
"choosing to put this string in any of the subset possible by using the previous strings traversed so far will impact the element denoted by dp[i][j] for i and j satisfying
m ≤ i ≤ x, n ≤ j ≤ y"isn't the condition supposed to be x ≤ i ≤ m, y ≤ j ≤ n ?
