Approach hintTry it first, then revealHide
Row n is row n - 1 followed by its complement. Decide whether position k lies in the first or second half and recurse on row n - 1, flipping the result for the second half.
Row n is row n - 1 followed by its complement. Decide whether position k lies in the first or second half and recurse on row n - 1, flipping the result for the second half.