[C++]Simple code, strong logic
if the distance of any ghost from target is <= that of pacman, then there is no escape as the ghost will simply reach the target first and sit there. \notherwis
if the distance of any ghost from target is <= that of pacman, then there is no escape as the ghost will simply reach the target first and sit there. \notherwise an escape is possible because no matter how the ghost moves, they will never catch up.\n\n\n```\nclass Solution {\npublic:\n    bool escapeGhosts(vector<vector<int>>& g, vector<int>& t) {\n        \n        int d = abs(t[0]) + abs(t[1]);\n        \n        for(int i=0;i<g.size();i++)\n        {\n            if(abs(g[i][0]-t[0]) + abs(g[i][1]-t[1]) <= d)\n                return false;\n        }\n        return true;\n    }\n};```
[]