Solution
C++ []\nclass Solution {\npublic:\n    bool escapeGhosts(vector<vector<int>>& ghosts, vector<int>& target) {\n         int my_distance_from_target = abs(target[
```C++ []\nclass Solution {\npublic:\n    bool escapeGhosts(vector<vector<int>>& ghosts, vector<int>& target) {\n         int my_distance_from_target = abs(target[0]) + abs(target[1]);\n        for( auto &g : ghosts )\n        {\n            if( my_distance_from_target >= ( abs(g[0] - target[0]) + abs(g[1] - target[1])) )return false;\n        }\n        return true;\n    }\n};\n```\n\n```Python3 []\nclass Solution:\n    def escapeGhosts(self, ghosts: List[List[int]], target: List[int]) -> bool:\n        ee = abs(target[0]) + abs(target[1])\n        for ghost in ghosts:\n            if abs(target[0] - ghost[0]) + abs(target[1] - ghost[1]) <= ee:\n                return False\n        return True\n```\n\n```Java []\nclass Solution {\n    public boolean escapeGhosts(int[][] ghosts, int[] target) {\n        int len = Math.abs(target[0])+Math.abs(target[1]);\n        for(int[] arr:ghosts) if(len >= Math.abs(target[0]-arr[0]) + Math.abs(target[1]-arr[1])) return false;\n        return true;\n    }\n}\n```\n
['C++', 'Java', 'Python3']