Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ 7 , 10 , 4 , 3 , 20 , 15 ] ; NEW_LINE n = len ( arr ) ; NEW_LINE k = 3 ; NEW_LINE print ( kthSmallest ( arr , k , n ) ) ; NEW_LINE DEDENT