imambungo / compare-3-sorting-algorithm

Tugas Probabilitas & Statistika

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compare-3-sorting-algorithm

Tugas Probabilitas & Statistika

Sort an array of 100000 length with with 3 sorting algorithm.
(every element of the array is a randomized number between 1-100000)

Below is the output of the program when it runs on my laptop:

Membandingkan kecepatan 3 algoritma sorting (dalam milliSecond)

bubble|selection|insertion
18384	4881	974
18318	4877	973
15982	2647	1218
15956	2651	1222
15954	2647	1227
15952	2648	1220
15952	2648	1225
15960	2650	1218
15980	2650	1222
15986	2648	1226
15979	2648	1222
15993	2649	1268
15997	2649	1227
15992	2649	1223
15984	2649	1223
15991	2649	1227
15995	2648	1224
16016	2646	1219
15990	2646	1229
16078	2734	1284
16016	2647	1221
16017	2647	1223
16091	2647	1226
16031	2647	1222
15956	2647	1221
15954	2649	1223
15974	2648	1225
15991	2652	1227
15980	2648	1228
15993	2648	1221

About

Tugas Probabilitas & Statistika

License:MIT License


Languages

Language:Java 100.0%