import java.util.*; public class Solution { public int movingCount(int threshold, int rows, int cols) { Queue<int[]> que = new LinkedList<>(); int count = 0; boolean[][] used = new boolean[rows][cols]; que.offer(new int []{0,0}); used[0][0] =...