AlgoMaster Logo

474. Ones and Zeroes

strs=[10, 0001, 111001, 1, 0],m=5,n=3
0 / 136
algomaster.io
Step:Pick as many strings as possible using at most 5 zeros and 3 ones