Commit Graph

156 Commits

Author SHA1 Message Date
Ashwek Swamy
6159abcff1
format code 2019-11-09 23:34:40 +05:30
Jeong Tae Yong
835fa06ab0
Create BeadSort.c 2019-11-08 18:14:12 +09:00
ubc1729
5c1e88cc51 Indented "countingSort" and fixed compilation errors
Added description about advantage of counting sort over comparison sort and
how counting sort can be stabilized.
2019-11-07 18:39:38 +05:30
Zykiel
b2bfeaa132 Add pancake sort (#344)
Add Pancake Sort
2019-11-01 17:25:38 +05:30
Zykiel
39abfd068b Added Cycle Sort (#340)
Added Cycle Sort
2019-10-30 15:50:50 +05:30
Ashwek Swamy
c385a79149
Merge branch 'master' into master 2019-10-30 14:24:19 +05:30
Ashwek Swamy
f8a5c14852
Rename Sorts/RadixSort.c to sorting/radix_sort.c 2019-10-30 14:22:29 +05:30
Ashwek Swamy
5e9189be5d
Rename Sorts/StoogeSort.c to sorting/StoogeSort.c 2019-10-30 14:21:05 +05:30
Ashwek Swamy
e2d3675bc7
Merge pull request #319 from shivamagarwal1999/patch-2
Update BubbleSort.c
2019-10-11 22:51:27 +05:30
Ashwek Swamy
f4882e6573
Merge pull request #285 from Sayam753/patch-1
Code for Randomised Quick Sort
2019-10-11 17:13:32 +05:30
shivam agarwal
28c59fc7c4
Update BubbleSort.c 2019-10-03 17:01:53 +05:30
Jian
ffebcd5fdb Added multikey quicksort 2019-10-03 17:04:48 +10:00
Sayam Kumar
7f350fd507
Create random_quick_sort.c 2019-10-01 20:25:15 +05:30
StephenCurry
f14320d137
Change for loop in comb_sort.c
It can be compiled and passed in C89.
2019-08-25 19:15:06 +08:00
Gabriele Bruno Franco
4956146bae Change second for loop in gnome_sort.c, it's now C89-compatible 2019-08-10 14:17:27 +02:00
Gabriele Bruno Franco
bbf8f1b991 Change for loop in gnome_sort.c, it's now C89-compatible 2019-08-10 13:44:17 +02:00
Gabriele Bruno Franco
8eb6ef210c Add gnome sort 2019-08-10 12:05:10 +02:00
Gabriele Bruno Franco
e14e56bca2 Add comb sort 2019-08-08 11:56:39 +02:00
Hai Hoang Dang
3a444f2132
Merge pull request #247 from arjunmann73/sorting_patch
Sorting and README.md updates
2019-08-02 17:02:36 -07:00
dang hai
29e5b2a266 Re-write binary insertion sort for more clear 2019-07-25 17:30:46 -07:00
dang hai
cd813030ea Modify insertionSort for more clear 2019-07-25 16:10:19 -07:00
Arjun Singh Mann
b09f1d0f46
Formatted RadixSort Code
Formatted radix sort code similar to the other codes.
2019-07-25 17:13:41 +04:00
Arjun Singh Mann
61e4460104
Added MAX() function definition 2019-07-25 13:17:50 +04:00
Arjun Singh Mann
842cb215f5
Added Radix Sort 2019-07-25 17:16:00 +08:00
Libin Yang
94d6942d1d
Update partitionSort.c 2019-05-07 08:35:50 +08:00
Libin Yang
8b9de23919
Merge pull request #225 from danghai/master
Add partition sort algorithm
2019-05-07 08:33:57 +08:00
danghai
261caac197 Add partition sort algorithm 2019-05-06 11:33:56 -07:00
Libin Yang
6c2375f8c5
Merge pull request #222 from 54shady/BugFix
BugFix : loop out of range will cause stack smashing
2019-05-05 15:35:12 +08:00
Libin Yang
cef21ccea9
Update shellSort.c 2019-05-05 15:34:27 +08:00
Libin Yang
67e2e98311
Fix bug and format code in QuickSort.c 2019-05-05 15:23:58 +08:00
zeroway
1abb8b20bb BugFix : loop out of range will cause stack smashing
Data Sorted
    Shell Sort Big O Notation:
    --> Best Case: O(n log(n))
    --> Average Case: depends on gap sequence
    --> Worst Case: O(n)

    Time spent sorting: 0.000006
    *** stack smashing detected ***: <unknown> terminated
    Aborted
2019-02-19 17:20:10 +00:00
Libin Yang
ffd651dd18
Merge pull request #210 from sayoojkz/master
Update LinearSearch.c
2019-01-29 09:03:46 +08:00
sungbin
a498bf1de9 Better ome comments 2018-11-13 13:42:00 +09:00
sungbin
72de3a6ca8 Change InsertionSort.c format 2018-11-08 16:37:38 +09:00
sungbin
edf400739c Change BubbleSort.c format 2018-11-08 16:22:51 +09:00
sungbin
bc1c15e24f Change SelectionSort.c format 2018-11-08 16:04:04 +09:00
sayoojkz
a7c22b5560
added some comments 2018-10-30 23:29:06 +05:30
Anup Kumar Panwar
444d4b11d5 Refactor 2018-10-08 21:18:35 +05:30
Christian Bender
7efed28d14
changed the code a little bit
I changed the code a little bit and put in some comments.
2018-03-20 15:06:16 +01:00
Christian Bender
bcd0486020
Merge pull request #72 from MacBox7/bucket-sort
Thanks for contributing
2018-01-15 15:45:06 +01:00
Christian Bender
d4b5e088b0
Merge pull request #69 from SummerSad/master
Thanks for contributing
2017-12-27 14:05:32 +01:00
Sachin Arora
a6d1297d22 Multiple folders of search and sort. Fixes issue #60 and #49. 2017-10-24 20:38:10 +05:30
Chetan Kaushik
6fbc164865 Merge pull request #80 from Sudeepam97/master
Adding comments to the code
2017-10-20 23:44:12 +05:30
AnupKumarPanwar
81657fc249 Updated README.md 2017-10-20 22:03:41 +05:30
Sudeepam
41f0292531 Update InsertionSort.c 2017-10-18 02:05:57 +05:30
Sudeepam
ea50acb609 Update InsertionSort.c 2017-10-18 02:02:52 +05:30
MacBox7
209de0c0d1 Bucket Sort Added 2017-10-13 14:39:57 +05:30
Tran Hau
2abb7f5691 add heap sort 2017-10-04 09:21:25 +07:00
AnupKumarPanwar
ab2b2a58f0 BogoSort.c and bogo_sort.c are same. Deleted bogo_sort.c 2017-10-03 16:51:00 +05:30
AnupKumarPanwar
4f868c6e0b QuictSort.c and QiSort.c are same. Deleted QiSort.c 2017-10-03 16:47:22 +05:30
AnupKumarPanwar
ddc70f70c0 Merged 2 folders for sorting algorithms 2017-10-03 16:24:37 +05:30
ayanzunaid
3c02bca914 Add files via upload 2017-07-22 09:42:03 +05:30
ayanzunaid
d720a2c0d8 Add files via upload 2017-07-22 09:40:08 +05:30
KylerSmith
f0bb982627 File clean-up 2017-07-12 17:09:15 -07:00
neelneelpurk
f6940c719a Binary Insertion sort is a variant of Insertion sorting with binary search. 2017-05-05 12:52:47 +05:30
neelneelpurk
655328b448 Create shaker_sort.c 2017-05-04 23:51:39 +05:30