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
8dd686a31c
DoublyLinkedList.__iter__() ( #168 )
2021-04-11 17:49:05 -04:00
Christian Clauss
c245d22869
Add Python doctests to karatsuba.py ( #161 )
...
* Add Python doctests to karatsuba.py
`subtract()` can give the wrong answer when `y` > `x`. @atin Your review please.
* add() and absolute_difference()
* absolute_difference("1", "0")
* Update karatsuba.py
* Update karatsuba.py
2021-04-11 17:43:57 -04:00
Toihir Halim
c3db2ee9f9
add arrays left rotation in java ( #155 )
2021-04-11 13:49:36 -04:00
Christian Clauss
d7860a161e
GitHub Action to lint C and C++ code ( #156 )
...
* GitHub Action to lint C and C++ code
GitHub Action to run cpplint recursively on all pushes and pull requests https://github.com/cpplint/GitHub-Action-for-cpplint
* Update cpplint.yml
* Update cpplint.yml
* Update cpplint.yml
* Fix import order
Found C system header after C++ system header. Should be: doubly.h, c system, c++ system, other. [build/include_order] [4]
* Fix import order
* Update string-tokeniser.cpp
2021-04-11 13:48:29 -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
Ritish Sehgal
c08e033754
Added level order traversal in Binary trees ( #153 )
...
* added max subarray sum
* added pre,in,post traversals
* Update pre-in-post-traversal.cpp
formatted the output
* Update pre-in-post-traversal.cpp
formatted output
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-04-10 05:11:47 -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
Aayush Jain
183a3a660e
Add Kadane's Algorithm to Java ( #149 )
...
* Kadane’s Algorithm
* Update README.md
* Kadane's Algorithm
2021-04-09 15:38:44 -04:00
Tawfik Yasser
007e8a54a6
Update README.md ( #146 )
2021-04-09 12:48:38 -04:00
Ritish Sehgal
a4c29a4b59
Added 3 basic traversals in Binary Trees ( #144 )
...
* added max subarray sum
* added pre,in,post traversals
* Update pre-in-post-traversal.cpp
formatted the output
* Update pre-in-post-traversal.cpp
formatted output
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-04-09 08:52:11 -04:00
Ming Tsai
6d27728246
docs: update Contribution Guidelines
2021-04-07 14:32:02 -04:00
Ujjwal
5ab719ce5e
Prim's Algorithm in c ( #140 )
...
* Added Prim's Algorithm
* added Time complexity and algorithm name
* added prim's algorithm link
* recorrected the link address
* added .c exitension
* Update time complexity of prim's algo
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-04-07 11:36:58 -04:00
Ujjwal
616e931601
Added Time Complexity and remove single comment into multi comment ( #135 )
...
* Added Time Complexity and remove single comment into multi comment
* added new line at end of program
2021-04-05 06:39:20 -04:00
Tawfik Yasser
4f8f068ecc
New scheduling algorithm [Round Robin] ( #133 )
...
* Create round-robin.java
* Update README.md
Add the round robin to README
2021-04-04 17:47:59 -04:00
Toihir Halim
9e742e7f8c
Add circular linked list java ( #134 )
2021-04-04 15:28:46 -04:00
Ujjwal
072f928379
Added Double ended queue to C( #126 )
...
* Added double ended queue using array
* replace space( ) to dash(-)
* remove space complexity
removed space complexity because i did know how to check space complexity
* done the requested changes
* update queue index readme
add double-ended-queue-using-array.c under c-or-cpp
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-04-03 12:44:38 -04:00
Ritish Sehgal
84053d436f
added max subarray sum ( #131 )
2021-04-03 12:16:29 -04:00
Hazel Mahajan
6cd32d216b
Create-sqrt-monotonic-binary-search.cpp ( #114 )
...
* Create sqrt_monotonic_binary_search.cpp
* Rename sqrt_monotonic_binary_search.cpp to sqrt-monotonic-binary-search.cpp
* update string index readme
add sqrt-monotonic-binary-search.cpp under c-or-cpp
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-04-02 14:05:47 -04:00
Ming Tsai
e133ec61bd
Merge pull request #127 from verma-tanishq/tanishq
...
Adding interpolation search algorithm
2021-04-02 14:01:42 -04:00
Tawfik Yasser
675d45473f
Algorithm Added ( #129 )
2021-04-02 13:42:22 -04:00
Arsenic
1860e5b25c
update searching index readme
...
add interpolation search under c-or-cpp
2021-04-02 14:04:31 +05:30
Toihir Halim
26b3e1174f
Add doubly linked list java ( #125 )
...
* Add doubly linked list in java
* Add java doubly linked list's link to README.md
2021-04-01 10:26:43 -04:00
Tanishq Verma
2535572a87
Adding interpolation search algo
2021-04-01 14:08:51 +05:30
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
Ujjwal
3f1e345411
Permutation of String ( #123 )
...
* added Permutation of String
* permutation of string.c
the main object is to explain the code more easy
* permutation of string.c
the main object is to explain the code more easy
* updated readme
* done all the recommend changes.
* added link of Permutation of string
* Update and rename Permutation of String.c to Permutation-of-String.c
- rename according to the naming conventions
- changed gets() to fgets()
* update index readme of strings
correctly linked [Permutation of String] after renaming of the file
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-03-30 08:15:37 -04:00
Gauravsingh Sisodia
d1c691d684
Add Haskell subSequences ( #121 )
...
* Add Haskell Sequence
* Add type signature for the function
* Add aim of sequence.hs program
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-03-30 07:39:02 -04:00
Gauravsingh Sisodia
098eed7b6c
Add Haskell Palindrome ( #120 )
2021-03-27 13:19:27 -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
temitayo
aa919129f2
Add Python linkedlist ( #119 )
...
* fixed incorrect links
* added singly list Data structure
* removed semi-column
* added doubly linked list
* added doubly linked list
* docs: update linked list index
add python double linked list in the linked list inded
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-03-26 10:07:29 -04:00
Hazel Mahajan
3168e2f6c3
Create string-reverse.cpp ( #113 )
...
* Create string_reverse.cpp
* Update string_reverse.cpp
* Rename string_reverse.cpp to string-reverse.cpp
following the naming convention of the repository
* docs: update string index readme
add string-reversal in the string index readme
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-03-26 10:06:39 -04:00
temitayo
29cbbeaf11
Add singly linked lists for python ( #116 )
...
* fixed incorrect links
* added singly list Data structure
* removed semi-column
2021-03-23 11:20:13 -04:00
Vivek Bisht
929c1366a0
added bellman-ford for c++ ( #115 )
2021-03-20 11:08:19 -04:00
Goutham Krishna
f7c33dcb6e
Update README ( #108 ) ( #111 )
2021-03-18 15:48:09 -04:00
Goutham Krishna
e250c52ded
rust-> palindrome program, enforces specification in #108 ( #109 )
...
* issue 108 example: rust palindrome program
* edits on gitignore file
* update to specification file
* Updated README.md
* Updated parent README
2021-03-16 08:41:41 -04:00
Ming Tsai
cc756628a2
chore: add workflows name attribute
2021-03-12 18:49:04 -04:00
Tawfik Yasser
f3150c963a
Adding the circular queue ( #104 )
...
* Create circular-queue-linked-list.cpp
* Update README.md
* Update circular-queue-linked-list.cpp
2021-03-12 18:40:53 -04:00
Goutham Krishna
891c5816ac
Rename greating.yml to greeting.yml ( #107 )
2021-03-12 18:40:32 -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
Tawfik Yasser
e211a1d20a
Queue linked-list Added ( #100 )
...
* Queue linked-.list Added
* Update queue-linked-list.cpp
* Update queue-linked-list.cpp
2021-03-07 12:47:15 -04:00
Atin Bainada
fd412d13bd
Added contributors in the README ( #98 )
2021-03-03 18:52:16 -04:00
Ritish Sehgal
cdaef8f9af
Added Dutch Flag algo ( #93 )
2021-03-03 14:55:50 -04:00
Goutham Krishna
6fe5b94526
Add Palindrome Check Algorithm in Python (Idiomatic Python) ( #96 )
2021-03-03 14:55:42 -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
Atin Bainada
e375a9f8b0
Added Linear, Binary Search in Go ( #94 )
...
* Create linear-search.go
* Create binary-search.go
* Update README.md
2021-03-03 14:54:01 -04:00
Arsenic
7d9f810c06
fix: numbering in linked-list index ( #92 )
2021-03-01 20:04:36 -04:00
B PAVAN KUMAR
1018546897
added left-rotation.cpp file ( #84 )
...
* added left-rotation.cpp file
* Update README.md
Added a link for left-rotation.cpp
2021-02-28 15:24:22 -04:00
everly-gif
7eb8b8327c
Add Josephus Problem Using Circular Linked List ( #86 )
...
* Add Josephus Problem Using Circular Linked List
* Update josephus-problem.c
Made all requested changes
2021-02-28 09:18:15 -04:00
Ritish Sehgal
655bf87436
Added Dutch Flag algo ( #87 )
2021-02-28 09:17:57 -04:00
Shrashtika Singh
a125b19f98
Add all possible insertion on linked lists ( #82 )
...
* all-possible-insertion-method-in-a-linked-list
* Rename All-possible-insertion-method.cpp to all-possible-insertion.cpp
* Update README.md
2021-02-26 11:39:29 -04:00