Problem 779 · Medium
Follow the k-th symbol up to its parent in the previous row, flipping when it is the second child.
Open the interactive visualisation