2 3 3 0 0 1 0 2 1 2 2 1 0 0 1
Case 1: YES Case 2: NO HintFor the first case, just look at the table below. (YES means the thief may appear at the cross at that moment) For the second input, at any moment, there’s at least one cross that the thief can’t reach.