Commit Graph

1819 Commits

Author SHA1 Message Date
github-actions
c8504151d9 Formatted with Google Java Formatter 2021-09-20 18:58:35 +00:00
o0ovano0o
c7fa087e02
Create IterativeBinarySearchTest.java (#826)
Co-authored-by: o0ovano0o <o0ovano0o@users.noreply.github.com>
2021-09-20 21:58:07 +03:00
github-actions
e72d71c0d7 Formatted with Google Java Formatter 2021-09-20 18:50:09 +00:00
PRIYESHRANJAN10
dc2d3d3ff8
Rotate matrix by 90 degree (#2316) 2021-09-20 21:49:24 +03:00
github-actions
f981a2b979 Formatted with Google Java Formatter 2021-09-17 17:03:36 +00:00
Rajat Jain
e6fb81d1bb
Add knapsack problem (#2330) 2021-09-17 20:02:57 +03:00
github-actions
cccb7be7d8 Formatted with Google Java Formatter 2021-09-17 11:38:05 +00:00
Rajat Jain
d8b06a35d4
Add matrixTranspose.java (#2041)
Co-authored-by: Rajat <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-17 14:37:39 +03:00
github-actions
434320ed45 Formatted with Google Java Formatter 2021-09-17 09:47:40 +00:00
Waleet
c497d13c9a
Added class that calculated Pi (#2324)
* added class PiNilakantha.java
which calculates Pi using Nilakanthas infinite series

* added link to explanation
partially fixes #2323
2021-09-17 17:46:52 +08:00
Andrii Siriak
0f75446463 Set up workflow for issues and PRs 2021-09-15 16:38:58 +00:00
mohamadAmin
01179a3de6
create Readme.md for stacks (#2279)
* create Readme.md for stacks

* Update README.md

Co-authored-by: Yang Libin <contact@yanglibin.info>
2021-08-23 11:07:33 +08:00
Manasi2020
3a4bd296b7
Fixing broken contributing link (#2278) 2021-08-08 10:49:26 +08:00
github-actions
44dfbed43a Formatted with Google Java Formatter 2021-07-15 14:03:52 +00:00
Huayang Sun
d3a6ba2437
fix #2251 (#2252) 2021-07-15 22:03:07 +08:00
github-actions
2cf749d653 updating DIRECTORY.md 2021-06-05 15:01:49 +00:00
Ankit Sharma
e67212138c
Replaced String with StringBuilder so multiple String Objects don't get created (#2238) 2021-06-05 23:01:32 +08:00
github-actions
0fd737e555 Formatted with Google Java Formatter 2021-06-03 14:53:53 +00:00
George B
6cb034b07f
Add Horspool string matching algorithm (#1397 old accepted PR on Development) (#2232)
* Add Horspool algorithm
* Add wikipedia link and move to strings package
2021-06-03 22:53:13 +08:00
Yang Libin
cec48f3198
chore: update code formatter action (#2178)
close #2178
2021-06-01 19:24:44 +08:00
Du Yuanchao
ea123111d9
fixed merge sort (#2202)
* reformat merge sort

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-05-06 17:49:12 +08:00
David Leal
8e228109b1
feat: Add Discord badge in README.md (#2196) 2021-04-30 13:02:15 -05:00
github-actions
979742f0f3 updating DIRECTORY.md 2021-04-24 06:34:29 +00:00
algobytewise
b95ba6c693
RGB-HSV conversion (#2175)
* readded EulerMethod.java after sync

* add RgbHsvConversion.java

* Delete EulerMethod.java

* add package
2021-04-24 12:04:07 +05:30
github-actions
5c3b3e719e updating DIRECTORY.md 2021-04-24 06:33:41 +00:00
algobytewise
a99321502c
add Koch snowflake (#2168)
* add KochSnowflake.java

* add package
2021-04-24 12:03:24 +05:30
github-actions
57bf40bff4 updating DIRECTORY.md 2021-04-24 06:25:41 +00:00
algobytewise
2ad3bb7199
Add algorithm for the Mandelbrot set (#2155)
* Add Euler method (from master)

trying to avoid to prettier-error by making the commit from the master-branch

* delete file

* Add algorithm for the Mandelbrot set

* remove unnecessary import

* fix comments

* Changed variable name

* add package
2021-04-24 11:55:27 +05:30
github-actions
db86e6454a updating DIRECTORY.md 2021-04-24 06:25:05 +00:00
algobytewise
728723177e
Add Euler method (from master) (#2148)
* readded EulerMethod.java after sync

* add package
2021-04-24 11:54:34 +05:30
github-actions
a8505097a8 Formatted with Google Java Formatter 2021-04-23 17:28:12 +00:00
Hemanth Kotagiri
66adafbff8
Tim sort Algorithm | #2003 (#2110)
* Add Tim Sort implementation in Java

* Add comments and complete implementation of TimSort Algorithm

* Add better docs

* Add @brief's and test method

* Fix errors

* add Test method

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Add tests

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* Update Sorts/TimSort.java

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-04-23 22:57:41 +05:30
Leandro Doctors
d2d5efdd2a
BinarySearch: clearer median computation (#2182)
* BinarySearch: clearer median computation

">>> 1" is simply too obscure...

* update binary search

Co-authored-by: Yang Libin <contact@yanglibin.info>

Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
Co-authored-by: Yang Libin <contact@yanglibin.info>
2021-04-21 09:23:46 +08:00
Nishant Chatterjee
02fab665de
fixed typo vertes to vertex Fixes: #{$2189} (#2190) 2021-04-18 18:02:48 +08:00
github-actions
8cece6c399 Formatted with Google Java Formatter 2021-04-14 03:51:16 +00:00
Sourav Jyoti Kalita
b8707e61cb
Formula to find median in Binary Search changed (#2181)
* Formula to find median in BS changed

* Fixed bugs

* fixed binary search bug

Co-authored-by: Sourav <kalitasourav12@gmail.com.com>
Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
2021-04-14 11:50:48 +08:00
Du Yuanchao
cebd052c94
selection sort (#2177)
* selection sort

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-04-12 19:16:37 +08:00
Du Yuanchao
d93ee0de2d
udpate insertion sort (#2176)
* udpate insertion sort

* Formatted with Google Java Formatter

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-04-12 18:58:24 +08:00
github-actions
6dd5b2029e Formatted with Google Java Formatter 2021-04-09 14:19:34 +00:00
Dennis Nilsson
0550711a3e
Update CountSinglyLinkedListRecursion.java (#2170)
Only method comment for public recursive method.
2021-04-09 22:18:51 +08:00
github-actions
5f59cd85d6 Formatted with Google Java Formatter 2021-03-26 11:27:48 +00:00
Chen Ostrovski
67cb97df82
Fix 2D array passed to Arrays.fill() (#2010)
Arrays.fill() accepts single dimensional arrays, so fill one row at a time.

Fixes TheAlgorithms/Java#2009
2021-03-26 19:27:16 +08:00
Yang Libin
2163204d8c
Delete CountNumBinaryStrings 2021-03-26 19:19:47 +08:00
github-actions
4e184cd95f Formatted with Google Java Formatter 2021-03-24 16:51:59 +00:00
Alon Firestein
4e7045137c
Update LongestIncreasingSubsequence.java 2021-03-24 18:51:20 +02:00
Sugato Bagchi
8f43cce490
Removed Development part from README.md file (#2152) 2021-03-17 22:02:46 +05:30
Serwio YK
34c5edd11e
Update Knapsack.java (#2137) 2021-03-14 09:41:31 +08:00
Serwio YK
aa8858b57a
Var size is redunant (#2139) 2021-03-14 09:41:12 +08:00
kbrx93
183784b989
Fixes the sort order (#2142) 2021-03-14 09:38:57 +08:00
github-actions
424b0fd11b Formatted with Google Java Formatter 2021-03-08 14:07:57 +00:00