Yext Interview Question

Traverse a 2D array following a snaking pattern, moving diagonally from corner to corner.