cpp Q-sort

Sedang Disiapkan Disiarkan 4 tahun lepas Dibayar semasa penghantaran
Sedang Disiapkan Dibayar semasa penghantaran

Tukey proposed an idea to find a better median in random arrats so that quick sort uses less comparisons to get approximate median of 9 items in the arrays. This assignment to test if a quick sort backed by "Tukey's ninther's idea" is faster than regular quick sort algorithm. You need to compare these two approaches in the sorting of randomly created same 32K char items in arrays. Repeat the comparison 300 times keeping running time of each approach. In your analysis, report

- Average running time of Tukey's approach and Regular QSort.

- Standard deviation of running time of Tukey's approach and Regular QSort.

- How many time Tukey's approach is faster than regular QSort.

- Is Tukey's idea significantly faster than regular quick sort? What is p-value? (Assuming run times are normally distributed, use t-test to compare their normal distributions. Please see [login to view URL] )

Submit a .cpp file with your code. On the top of you cpp file, report above metrics as comments.

Pengaturcaraan C++ Algoritma Pengaturcaraan C Java Matematik

ID Projek: #22192594

Tentang projek

2 cadangan Projek jarak jauh Aktif 4 tahun lepas

2 pekerja bebas membida secara purata $35 untuk pekerjaan ini

sciondev

Hi, It's my great pleasure to do your urgent job. I can confidently say I am deeply specialized in c, c++ and java application development. I have 5+ years of experience in this field. And I have many partners working Lagi

$30 USD dalam 2 hari
(12 Ulasan)
3.9
Artemrodin1987

Hello, I have just read your requirement very careful and I am sure that I can finish it for 1 hours because I am a professional C/C++ expert with strong algorithm. So I think it is a important opportunity for me to pr Lagi

$40 USD dalam sehari
(4 Ulasan)
2.8