-
# 퀵소트 def quick_sort(arr): if len(arr) pivot: right_arr.append(num) else: equal_arr.append(num) return quick_sort(left_arr) + equal_arr + quick_sort(right_arr) arr= [20,50,30,40,99] print(quick_sort(arr))