三、請使用虛擬碼說明快速排序(quick sort)演算法,請問該演算法的平均時間複雜度 (average time complexity)以及最差時間複雜度(worst case time complexity)為何? (20 分)