Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ 10 , 7 , 2 , 6 , 12 , 3 , 33 , 46 ] NEW_LINE n = len ( arr ) NEW_LINE k = 4 NEW_LINE sortWithRemainder ( arr , n , k ) NEW_LINE DEDENT