Yext Interview Question

Given a 2d array, determine the board outcome after certain events happen