Manhattan Distance Go Solution
\nimport "math"\n\n\nfunc manhattanDistance(x int, y int, x0 int, y0 int) int {\n    return int(math.Abs(float64(x-x0)) + math.Abs(float64(y-y0)))\n}\n\n\n// O(
```\nimport "math"\n\n\nfunc manhattanDistance(x int, y int, x0 int, y0 int) int {\n    return int(math.Abs(float64(x-x0)) + math.Abs(float64(y-y0)))\n}\n\n\n// O(n) time,\n// O(1) space,\n// Approach: math, manhattan distance\nfunc escapeGhosts(ghosts [][]int, target []int) bool {\n    pacman_dist := manhattanDistance(0, 0, target[0], target[1])\n    \n    for _, ghost := range ghosts {\n        ghost_dist := manhattanDistance(ghost[0], ghost[1], target[0], target[1])\n        \n        if ghost_dist <= pacman_dist {\n            return false\n        }\n    }\n    return true\n}\n```
['Math', 'Go']