[Python3] 1-Liner
\nclass Solution:\n    def minimumDifference(self, nums: List[int], k: int) -> int:\n        return min(y - x for x, y in zip(sorted(nums)[:-k + 1], sorted(nums
```\nclass Solution:\n    def minimumDifference(self, nums: List[int], k: int) -> int:\n        return min(y - x for x, y in zip(sorted(nums)[:-k + 1], sorted(nums)[k - 1:])) if k > 1 else 0\n```
[]