https://leetcode.com/problems/word-search but you are given 2D board of digits 0-9 and you need to find a number:
0-9
public boolean exist(int[][] board, int num) { }