Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ 1 , 2 , 4 ] ; NEW_LINE N = len ( arr ) ; NEW_LINE M = 3 ; NEW_LINE print ( findLengthOfMaxSubset ( arr , N , M ) ) ; NEW_LINE DEDENT