Commit Graph

39 Commits (333a2faceaab3947353f750e4bd63157aca00492)

Author SHA1 Message Date
Ming Tsai 2f47d5c828
chore: moving csharp file to its project (#198) 2021-04-14 21:42:45 -04:00
Christian Clauss bd860a57a4
Add Python doctest to insertion-sort.py (#165)
* Add Python doctest to insertion-sort.py

* if __name__ == "__main__":

* Update insertion-sort.py
2021-04-12 12:23:20 -04:00
Christian Clauss 66c65383fb
Add Python doctests to quicksort.py (#166)
* Add Python doctests to quicksort.py

* quicksort(list(reversed(ascii_letters)))

* Update quick-sort.py
2021-04-12 12:22:12 -04:00
Christian Clauss e151d71572
Use Pythonic item access (#164) 2021-04-12 06:02:56 -04:00
Christian Clauss b95fa5b691
Add Python doctest to selection_sort.py (#167)
* Add Python doctest to selection_sort.py

* fix isort

* Update selection-sort.py

* all(selection_sort(arr) or arr == sorted(arr) for arr in arrays)
2021-04-12 06:02:35 -04:00
Christian Clauss 0459f08eeb
GitHub Action to lint Python code (#151)
* GitHub Action to lint Python code

* Fix typo
2021-04-10 21:21:48 -04:00
Arsenic f515542235
Typo fix patch (#154)
* Update README.md

fix typo 
./README.md:14: seperated ==> separated

* Update string-tokeniser.cpp

fix typo 
./strings/c-or-cpp/string-tokeniser.cpp:27: delimeter ==> delimiter

* Update palindrome.js

fix typo 
./strings/js/palindrome.js:4: alpha-numeric ==> alphanumeric

* Update quick-sort.java

fix typo
./sorting/java/quick-sort.java:2: choosen ==> chosen

* Update counting-sort.java

fix typo 
./sorting/java/counting-sort.java:4: algortithm ==> algorithm

* Update merge-sort.java

fix typo 
./sorting/java/merge-sort.java:12: Funtion ==> Function

* Update bubble-sort.cpp

fix typo 
./sorting/c-or-cpp/bubble-sort.cpp:21: swaping ==> swapping

* Update and rename Insert_and_delete_beginning.c to Insert-and-delete-beginning.c

fix typo 
./linked-lists/c-or-cpp/Insert_and_delete_beginning.c:18: Intialize ==> Initialize
and rename the file according to contribution guidlines

* Update Insert-and-delete-beginning.c

fix typo 
./linked-lists/c-or-cpp/Insert_and_delete_beginning.c:37: beggining ==> beginning

* Update bellman-ford.cpp

fix typo 
./graphs/c-or-cpp/bellman-ford.cpp:80: weigth ==> weight

* Update README.md

fix typo 
./stacks/README.md:5: Paranthesis ==> Parenthesis

* Rename balanced-paranthesis.cpp to balanced-parenthesis.cpp

fix typo in name of the file

* Update linear-search.cpp

fix typos 
./searching/c-or-cpp/linear-search.cpp:22: inputed ==> inputted
./searching/c-or-cpp/linear-search.cpp:24: inputed ==> inputted
2021-04-10 05:10:32 -04:00
Valerio Trinca 32fa3fdc15
Add Counting Sort - java (#124)
* Add CountingSort.java

* File name and Readme sorting

* static main and print array
2021-03-30 08:17:14 -04:00
UnleashMe69 89b7afb0cf
bubble-sort.go added (#117)
* bubble-sort.go added

* Updated bubble sort algorithm
2021-03-27 13:15:52 -04:00
Atin Bainada 08410d94b5
Interval Scheduling, Quick Sort, Insertion Sort in Go (#102)
* Interval Scheduling, Quick Sort, Insertion Sort in Go

* Update quick-sort.go

* Update interval-scheduling.go
2021-03-07 12:49:25 -04:00
truonggiangtran 327a2ad594
Add 3way quick sort for c++ (#85)
* Add 3way quick sort for c++

* Include description for 3way_quick_sort
2021-03-03 14:55:27 -04:00
Satyam Singh 6526860e53
added comp sort in cpp (#66)
* add binary search in js

* added merge sort in c

* added quick sort in cpp

* modified quick sort

* added heap sort

* updated readme.md

* added counting sort

* added bucket sort

* added shell sort

* added comb sort
2021-02-09 09:27:24 -04:00
Tawfik Yasser cc5da8777a
Add Radix Sort (#58)
* Add radix-sort algorithm

* Update README.md

* Update radix-sort.cpp

Update code to accept all test cases

* Update radix-sort.cpp

fixing function name

Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-02-07 13:43:09 -04:00
Satyam Singh 6be1c352b2
added shell sort (#61)
* add binary search in js

* added merge sort in c

* added quick sort in cpp

* modified quick sort

* added heap sort

* updated readme.md

* added counting sort

* added bucket sort

* added shell sort
2021-02-06 20:29:55 -04:00
Satyam Singh bdfa4e1576
added bucket & counting sort in cpp (#57)
* add binary search in js

* added merge sort in c

* added quick sort in cpp

* modified quick sort

* added heap sort

* updated readme.md

* added counting sort

* added bucket sort
2021-02-03 11:05:35 -04:00
Satyam Singh 1e5db415bf
Added counting sort in cpp (#56)
* add binary search in js

* added merge sort in c

* added quick sort in cpp

* modified quick sort

* added heap sort

* updated readme.md

* added counting sort
2021-02-02 11:59:48 -04:00
Satyam Singh 2de8ac9ea3
added heap sort in cpp (#54)
* add binary search in js

* added merge sort in c

* added quick sort in cpp

* modified quick sort

* added heap sort

* updated readme.md
2021-01-31 14:03:49 -04:00
Visrut a6e15a9e5d
improved selection sort with function style for reusability (#52) 2021-01-31 08:51:08 -04:00
Satyam Singh f84976ab83
added quick sort (#48)
* add binary search in js

* added merge sort in c

* added quick sort in cpp

* modified quick sort
2021-01-31 08:50:51 -04:00
Muhammed Sabah bbec0ebacf
Added QuickSort in java (#50)
* added merge sort in java

* Added QuickSort in java
2021-01-30 08:27:31 -04:00
Atin Bainada ccc78a79a4
Quick Sort In Python (#35)
* Create quick-sort.py

* Update README.md
2021-01-29 08:54:21 -04:00
Visrut fa3f0e084f
improved insertion sort with function style (#41) 2021-01-28 14:24:46 -04:00
Muhammed Sabah 1d008011a9
added merge sort in java (#42) 2021-01-28 14:21:44 -04:00
Satyam Singh cedb8bf65b
added merge sort in c (#39)
* add binary search in js

* added merge sort in c
2021-01-28 12:15:34 -04:00
Roshan Kumar c7f4950ace
Added insertion sort algorithm in js and updated README (#37)
* Added insertion sort algorithm in javascript

* listed sorting algorithm in javascript in README.md
2021-01-28 12:14:53 -04:00
Roshan Kumar 4c9fab8025
Added selection sort algorithm in javascript (#33) 2021-01-27 16:06:56 -04:00
Amisha Mohapatra 440cb9b27a
Add sorting algorithms in java (#26) 2021-01-23 04:28:18 -09:00
acdlee 00e10d9250
Added Insertion and Selection sort to the python folders. (#22)
* Added Insertion and Selection sort to the python folders.

* Loop(s) bound issues resolved; semantics of pseudocode to the range function recognized.

Co-authored-by: Christopher Lee <christopherlee@wireless-10-104-179-111.umd.edu>
2021-01-22 07:50:42 -09:00
Ming 13023c5565 feat(sorting): add csharp examples 2021-01-20 12:28:54 -04:00
Paulson J Paul 1cddb2517b Add bubble sort JavaScript version 2021-01-20 19:59:25 +05:30
Ming Tsai 706620a28f docs: add index using relative link 2021-01-17 12:58:22 -04:00
Ming Tsai 242205af60
docs(c-or-cpp): add insertion sort to index 2021-01-17 11:41:47 -04:00
Ming Tsai addfab4a0f chore: add relative path for index 2021-01-17 11:29:43 -04:00
Roshan Kumar 7d5892b5a0 Added selection sorting algorithm 2021-01-17 16:17:57 +05:30
Ming Tsai a02c39079e chore: rename the folder with the name 2021-01-15 07:39:13 -04:00
Ming Tsai cfff220d90 chore: rename the folder for temp 2021-01-15 07:38:21 -04:00
Ankur f37c079f08 Put initial index in index readme.md 2021-01-14 12:38:38 +05:30
Ankur 976e35b920 Add README.md for index 2021-01-14 12:19:47 +05:30
Ankur 37afdd60fd restructure the repo
- format discussed in issue #3
- rename files and folders to lower case
2021-01-14 12:15:56 +05:30