@coldknight your solution seems to be fine at the first glance, but just want to be clear, you did not stop in the middle when all of them meet at the first time right? You stop when the accumulated reachable distance is no more less than the minimum distance. Otherwise, test case like [[1,0,1],[2,0,2],[2,1,2]] would be wrong. Also, you might push land at the same locations multiple times to the queue.
Posts made by yijiem
RE: Java solution with explanation and time complexity analysis