| 
 | 
back to boardUseful test cases I checked them using my AC algorithm   6 100110 000111 -> Impossible   10 1001100110 0101010101 -> 11111111112222222222   10 1001110000 0011111010 -> 11111211221212122222   11 01011100000 01111011001 -> 1111121112121212222222   14 10011111100101 00000110101010 -> 1111121212121111112222222222   18 100111111001010010 000001101010100111 -> 111112121212111111222222222222121112   18 100111111001010011 000001101010100011 -> Impossible  |  
  | 
|