Python 2 pointers
\nclass Solution(object):\n    def getStrongest(self, arr, k):\n        arr.sort()\n        m = (len(arr)-1)/2\n        i=0\n        j=len(arr)-1\n        res =
```\nclass Solution(object):\n    def getStrongest(self, arr, k):\n        arr.sort()\n        m = (len(arr)-1)/2\n        i=0\n        j=len(arr)-1\n        res = []\n        while(k>0):\n            if(abs(arr[m]-arr[i])>abs(arr[m]-arr[j])):\n                res.append(arr[i])\n                i+=1\n                k-=1\n            elif(abs(arr[m]-arr[i])<=abs(arr[m]-arr[j])):\n                res.append(arr[j])\n                j-=1\n                k-=1\n        return res\n        \n```
[]