Flexport interview question

leetcode push domino problem, pretty much the same questions