2 Randomized Shellsort In this section, we describe our randomized Shellsort algorithm. As we show in the sections that follow, this algorithm always runs in O(n log n) time and is highly likely to succeed in sorting any given input permutation.
2 แบบ shellsortในส่วนนี้เราอธิบายเราสุ่ม shellsort ขั้นตอนวิธีในฐานะที่เราแสดงในส่วนที่ปฏิบัติตามขั้นตอนวิธีนี้เสมอทำงานใน O ( n log n ) เวลา และมีโอกาสสูงที่จะประสบความสำเร็จให้ข้อมูลการเปลี่ยนแปลงในการเรียงลำดับ