# The k Strongest Values in an Array

Given an array of integers `arr`

and an integer `k`

.

A value `arr[i]`

is said to be stronger than a value `arr[j]`

if `|arr[i] - m| > |arr[j] - m|`

where `m`

is the **median** of the array.

If `|arr[i] - m| == |arr[j] - m|`

, then `arr[i]`

is said to be stronger…