Commit Graph

636 Commits

Author SHA1 Message Date
Sam
174b83f764 Clean Java BinarySearch
Cleans the Java implementation of binary search to be more consistent with styles and to avoid unnecessary boxing of int types
2018-10-22 20:35:07 +01:00
Libin Yang
f771b8baf4 Merge pull request #589 from shivg7706/cycle
all cycles present in a graph
2018-10-21 14:27:05 +08:00
shivg7706
5eaa579832 all cycles present in a graph 2018-10-18 15:47:00 +05:30
Libin Yang
24eadc63ea Merge pull request #586 from rmakynen/master
Fixed Compiler warnings, closed the scanner and fixed some typos
2018-10-15 19:59:02 +08:00
_0
1177b54746 The function had cryptic variable names. Now it's more readable. 2018-10-15 11:52:08 +03:00
rmakynen
c6e6610909 Fixed Compiler warnings, closed the scanned and fixed some typos 2018-10-15 09:21:30 +03:00
Mohit Sharma
6f7c2bf9cd Merge pull request #581 from shrutisheoran/MedianOfRunningArray_shrutisheoran
Add Median Of Running Array
2018-10-11 13:38:39 +05:30
Shruti Sheoran
7e0ddb3fda Add Median Of Running Array 2018-10-11 11:25:26 +05:30
Mohit Sharma
43e3366c14 Merge pull request #548 from thakursaurabh1998/minimum-priority-queue-thakursaurabh
Minimum priority queue added alongside heap sort implementation
2018-10-10 15:57:26 +05:30
Libin Yang
a8f3e5a758 Merge pull request #563 from rmakynen/master
Updated comments for the Fibonacci sequence
2018-10-09 23:54:38 +08:00
rmakynen
c75fce171b Updated comments for the Fibonacci sequence 2018-10-09 15:29:40 +03:00
Libin Yang
d33c84fa06 Merge pull request #558 from rmakynen/master
Added an explanation to SkylineProblem
2018-10-09 14:43:36 +08:00
rmakynen
efae9fb317 Updated brackets 2018-10-09 09:16:00 +03:00
rmakynen
f98e3c06bd Updated brackets 2018-10-09 09:09:38 +03:00
rmakynen
57fbbcd836 Updated the format of brackets 2018-10-09 09:07:56 +03:00
rmakynen
66c6353705 Update Dijkstra.java 2018-10-09 09:05:59 +03:00
Libin Yang
1b89f03f7b Merge pull request #557 from Chezin/patch-1
Improved readability
2018-10-09 12:34:20 +08:00
rmakynen
c9d0aa1290 New Dijkstra's algorithm with better comments. 2018-10-08 19:17:56 +03:00
rmakynen
d2d0b785c3 test 2018-10-08 19:16:15 +03:00
rmakynen
6cfc760e30 Added a new Dijkstra's algorithm. 2018-10-08 19:14:47 +03:00
rmakynen
c7ca13b961 Added a new Dijkstra's algorithm. The code and comments should be more
readable.
2018-10-08 19:13:19 +03:00
rmakynen
78e509b373 There was no explanation for the SkylineProblem algorithm.
Added and explanation to SkylineProblem.
2018-10-08 17:09:50 +03:00
Lucas Contini
7ed62a9930 Improved readability 2018-10-08 10:13:08 -03:00
Libin Yang
2c10f63f7a Merge pull request #556 from dkesriyeli/master
fixed spelling mistakes
2018-10-08 13:37:24 +08:00
Doru Kesriyeli
cc0980c23d Update DoublyLinkedList.java 2018-10-07 17:29:23 -07:00
Doru Kesriyeli
3562e83985 added constructor 2018-10-07 17:28:50 -07:00
Doru Kesriyeli
ae2029424b removed unused return values 2018-10-07 17:20:32 -07:00
Doru Kesriyeli
eb01780ae6 fixed spelling mistakes 2018-10-07 16:55:52 -07:00
yanglbme
18b30402be Add Longest Valid Parentheses algorithm(DP) 2018-10-05 17:21:05 +08:00
Saurabh Thakur
bf27d9b270 Minimum priority queue added alongside heap sort implementation 2018-10-05 00:24:14 +05:30
Varun Upadhyay
77259b73b1 Merge pull request #502 from MarisaAfuera/master
Refactorized ClosestPair.java in order to be compliant with java sun rules
2018-09-09 09:37:30 -07:00
Marisa Afuera
88f8155458 Refactorized ClosestPair.java in order to be compliant with java sun rules
commit divideconquer\ClosesPair.java
Refactorized ClosestPair.java. Finding nearest cartesian points.

Refactorized ClosestPair.java. Finding nearest cartesian points.
2018-09-08 20:33:24 +02:00
Varun Upadhyay
65a919fb4f Merge pull request #501 from DDullahan/master
Added MatrixFastPower.java
2018-08-30 14:11:00 -07:00
DDullahan
55c179bf19 Added MatrixFastPower.java with changes 2018-08-30 21:52:20 +08:00
DDullahan
f713a5ff9c Added MatrixFastPower.java 2018-08-30 16:47:17 +08:00
Varun Upadhyay
826e7b55b2 Merge pull request #493 from JayH2018/patch-2
source coding is a little complex
2018-08-28 06:26:12 -07:00
Varun Upadhyay
2dc86b6a04 Update LevelOrderTraversal.java 2018-08-28 06:25:55 -07:00
JayH2018
28deddd5d7 source coding is a little complex 2018-08-28 14:36:56 +08:00
Varun Upadhyay
ff9205649b Merge pull request #491 from JayH2018/patch-1
className is error
2018-08-27 07:10:14 -07:00
JayH2018
890b9df9e5 className is error
Bring fileName into correspondence with className which is marked as public
2018-08-27 15:54:52 +08:00
Varun Upadhyay
a1cbd6542f Update README.md 2018-08-24 10:37:35 -07:00
Varun Upadhyay
5eaf920106 Delete closest_data.txt 2018-08-23 14:20:09 -07:00
Varun Upadhyay
0a373b5c10 Delete ClosestPair.java 2018-08-23 14:20:01 -07:00
Varun Upadhyay
199220db7c Deleted irrelevant file 2018-08-23 14:16:56 -07:00
Varun Upadhyay
54551afe75 Merge pull request #479 from JPDSousa/patch-1
Remove Tracis CI badge from README.md
2018-08-02 14:47:42 -07:00
João Sousa
bc1bee07ab Remove Tracis CI badge from README.md
Removing the Travis CI badge as it points to a dead URL. As this repository has [very few tests](https://github.com/TheAlgorithms/Java/search?q=Test&unscoped_q=Test), maybe a CI build might be a bit too much.
2018-08-01 14:55:26 +01:00
Varun Upadhyay
0b5c86e3a4 Merge pull request #468 from bansalKeshav/master
Add method for minimum number of coins required for given amount
2018-07-29 21:59:56 -07:00
Keshav
69279375d4 Add method for minimum number of coins required for given amount 2018-07-30 11:16:40 +08:00
Varun Upadhyay
871793bed1 Deleted conflict file for hahsmap 2018-07-25 09:16:16 -07:00
Christian Bender
550984a6ff Merge pull request #472 from christianbender/changed_GCD_JAVA
fixed bug in method gcd(int, int)
2018-07-25 17:08:16 +02:00