Meta interview question

Basic Coding Round. Two Leetcode question. One problem included designing class function from scratch for some computations. Second problem was the doing either DFS/BFS in the grid i.e to move from top left to right bottom with some constraints. Pretty standard leetcode stuffs.