Dart Solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n  bool escapeGhosts(List<List<int>> ghosts, List<int> target) {\n    List<int> player = [0, 0];\n\n    List<int> distances = [];\n    for (final g in ghosts) {\n      int gx = g[0];\n      int gy = g[1];\n      int distance = computeDistance(gx, gy, target);\n      distances.add(distance);\n    }\n\n    int playerDistanceToTarget = (player[0] - target[0]).abs() + (player[1] - target[1]).abs();\n    for (final d in distances) {\n      if (d <= playerDistanceToTarget) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  int computeDistance(int gx, int gy, List<int> target) {\n    int tx = target[0];\n    int ty = target[1];\n\n    int distance = (gx - tx).abs() + (gy - ty).abs();\n\n    return distance;\n  }\n}\n\n\n```
['Array', 'Math', 'Dart']