Roblox Interview Question

How to check if a board matrix matches a pattern matrix.