Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT N = 5 NEW_LINE K = 3 NEW_LINE D = 2 NEW_LINE A = [ 1 , 2 , 3 , 4 , 5 ] NEW_LINE print ( getMinimumMoves ( N , K , D , A ) ) NEW_LINE DEDENT