Garis besar topik
-
Topik 6: Algoritma Pengurutan Quick dan Kompleksitasnya
-
Kali ini, kamu akan diajak untuk berkenalan dengan ?
3.4 MB · Diunggah 19/07/21, 10:19 -
133.5 MB · Diunggah 1/04/21, 11:04
-
42.1 MB · Diunggah 1/04/21, 11:07
-
5.3 MB · Diunggah 1/04/21, 10:51
-
17.3 MB · Diunggah 1/04/21, 10:54
-
50.9 MB · Diunggah 1/04/21, 10:58
-
5.0 MB · Diunggah 1/04/21, 11:00
-
Saya dari kelas A, saya ingin lebih tahu tentang... Hot Question
Silahkan tuliskan pertanyaan atau hal yang ingin kamu ketahui lebih jauh terkait topik minggu ini dan sebelumnya. Pertanyaan kamu akan diulas pada saat pertemuan sinkronus.
-
Saya dari kelas B, saya ingin lebih tahu tentang... Hot Question
Silahkan tuliskan pertanyaan atau hal yang ingin kamu ketahui lebih jauh terkait topik minggu ini dan sebelumnya. Pertanyaan kamu akan diulas pada saat pertemuan sinkronus.
-
Pertemuan Sinkronus via Zoom untuk 30 Maret 2021 URL
-
A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of element in the respective data structure.
-
QuickSort is a Divide and Conquer algorithm. It picks an element as pivot and partitions the given array around the picked pivot. There are many different versions of quickSort that pick pivot in different ways.
-
Impelementasi algoritma Quick Sort secara iteratif (i.e., menggunakan struktur pengulangan).
-
Efficiency of an algorithm depends on two parameters, which are time and space complexity. Both are calculated as the function of input size(n).
-
Pada tautan ini, kamu bisa mencoba mengerjakan beberapa soal latihan terkait algoritma pengurutan.
-
Data sorting is an intriguing problem that has attracted some of the most intense research efforts in the field of computer science for both its theoretical importance and its use in many applications. Quicksort is widely considered to be one of the most efficient sorting techniques, which depends on an appropriate pivot selection technique for its performance. In this study, a sequential quicksort was implemented using six different pivot selection schemes for minimizing the execution time of quicksort algorithm. The schemes were tested together using integer array data type. From the results obtained, median-of-five without random index selection scheme minimizes the execution time of quicksort algorithm by about 23-35% as compared to the other techniques. The results also indicated that there is an overhead associated with random index selection and this can affect the performance of a particular method. Thus, this factor needs to be considered in selecting an optimal pivot selection scheme.
-
The algorithm was developed by a British computer scientist Tony Hoare in 1959. The name "Quick Sort" comes from the fact that, quick sort is capable of sorting a list of data elements significantly faster (twice or thrice faster) than any of the common sorting algorithms. It is one of the most efficient sorting algorithms and is based on the splitting of an array (partition) into smaller ones and swapping (exchange) based on the comparison with 'pivot' element selected. Due to this, quick sort is also called as "Partition Exchange" sort. Like Merge sort, Quick sort also falls into the category of divide and conquer approach of problem-solving methodology.