idk but its genius
Intuitionprior thought was what if ghost dont catch us but reaches to the target before us and stays there until we reach...Approachwe can only win if we reach
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
prior thought was what if ghost dont catch us but reaches to the target before us and stays there until we reach...
# Approach
<!-- Describe your approach to solving the problem. -->
we can only win if we reach there first.... we can always avoid the ghost... he can only catch us at the target point... otherwise we can always escape to its diagonal grid and can go out of its reach

# Complexity
- Time complexity: idk
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity: idk
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```java []
class Solution {
    public boolean escapeGhosts(int[][] ghosts, int[] t) {
        int ourdist = Math.abs(t[0])+Math.abs(t[1]);
        for(int a[] : ghosts){
            if( Math.abs(a[0] - t[0]) + Math.abs(a[1] - t[1]) <= ourdist)return false;
        }
        return true;
    }
}
```
['Java']