Simple explained C++ solution
IntuitionPackman can reach the target without being catched if and only if he can get the target faster than any other ghost.
If he can't so they can wait him i
# Intuition
Packman can reach the target without being catched if and only if he can get the target faster than any other ghost. 
If he can't so they can wait him in the target and wait (so he cannot escape).

If he can go faster (he closer to the target), and he walks on the shortest path, they cannot catch him (otherwise, they can reach the target with the same time of packman, so he is not cannot get the target faster).

# Code
```cpp []
class Solution {
public:
    int dist(vector<int>& p1, vector<int>& p2){
        return abs(p1[0]-p2[0]) + abs(p1[1]-p2[1]);
    }
    bool escapeGhosts(vector<vector<int>>& ghosts, vector<int>& target) {
        vector<int> start{0,0};
        int dist1 = dist(start,target);
        for(auto& ghost :  ghosts){
            if (dist(ghost, target) <= dist1)
                return false;
        }
        return true;
    }
};
```
['C++']