Driver function
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ 3 , 10 , 6 , 7 , 2 , 5 , 4 ] NEW_LINE k = 4 NEW_LINE n = len ( arr ) NEW_LINE print ( findMinimumSwaps ( arr , n , k ) ) NEW_LINE DEDENT