I\'m trying to solve this Problem from GFG with following approach:
class Solution: def getMinDiff(self, arr, n, k): # code here arr.sort(