Commit Graph

2319 Commits

Author SHA1 Message Date
MattBizzo
952accaf48 Code changes by request 2017-10-23 21:01:02 -02:00
Varun Upadhyay
9d819349e2 Delete InsertionSortInteger.java
Solves #84
2017-10-23 15:33:28 -07:00
MattBizzo
186c5d0253 Adding cocktail sort 2017-10-23 19:36:37 -02:00
Shikhar Tyagi
979be41b21 Update AnytoAny.java 2017-10-23 11:48:18 +05:30
Shikhar Tyagi
e1149eb4b9 Rename AnytoAny to AnytoAny.java 2017-10-23 11:46:44 +05:30
AKS1996
1c34220b3e Name and convention changed to Java 8 2017-10-22 18:41:27 +05:30
Varun Upadhyay
531c7639a6 Create StackOfLinkedList.java 2017-10-21 16:44:11 -07:00
Mani Manasa Mylavarapu
364e27b5a0 moved the class from others papckage to default.
and implemeted the following review comments.
Remove the package
Please provide a description for checkIfANumberIsAmstrongOrNot function
Provide a description for what actually is an
Armstrong number at the top along with an example

fixes #96
2017-10-21 23:22:07 +05:30
AKS1996
cecf806d48 Guass Legendre Algorithm for approximation of pi 2017-10-21 14:18:15 +00:00
Mani Manasa Mylavarapu
47c44aacff Added Armstrong number algorithm.
fixes #96
2017-10-21 18:40:01 +05:30
sanghaisubham
700df648b3 Merge branch 'master' of https://github.com/TheAlgorithms/Java into editdistance 2017-10-20 20:09:10 +05:30
sanghaisubham
35771f2b5a Updted Edit Distance In Java by adding description 2017-10-20 20:06:46 +05:30
Varun Upadhyay
598783dca5 Merge pull request #229 from sahilb2/master
Added QueueUsingTwoStacks.java class in Other folder
2017-10-19 20:01:19 -07:00
sahilb2
ea164f1ed6 added main and test cases for QueueUsingTwoStacks.java 2017-10-19 20:40:49 -05:00
sahilb2
df5e9a8c6f added QueueUsingTwoStacks.java class in Other folder 2017-10-19 16:23:57 -05:00
Chetan Kaushik
b7b9443a4d Merge pull request #137 from daniel-mueller/coding-style-fixes
turned some public methods private
2017-10-19 18:13:47 +05:30
Chetan Kaushik
acc6f31bc7 Merge pull request #137 from daniel-mueller/coding-style-fixes
turned some public methods private
2017-10-18 22:52:22 +05:30
Chetan Kaushik
ef1aa79bd5 Merge pull request #103 from mpokryva/level-order
Added level order traversal, and more nodes in main method
2017-10-18 22:44:13 +05:30
Varun Upadhyay
956e6e5c3a Update and rename prim.java to PrimMST.java 2017-10-18 07:11:14 -07:00
Varun Upadhyay
a7a8e192a2 Merge pull request #206 from Mansi-Mittal/master
Prim's And kruskal's Algorithms
2017-10-18 07:09:51 -07:00
AKS1996
b71360c668 Additional files similiar to TheAlgorrithms/Python 2017-10-17 23:35:25 +05:30
Mansi Mittal
ab9f2b05f4 Prim's And kruskal's Algorithms 2017-10-15 15:40:36 +05:30
Varun Upadhyay
01e25558a8 Merge pull request #200 from youssefAli11997/master
Created new file in Sorts directory, CountingSortIntegers.java
2017-10-14 07:01:13 -07:00
Youssef Ali
22220d1049 Create CountingSort.java 2017-10-14 12:52:55 +02:00
Youssef Ali
3d34022fd9 Update CountingSortIntegers.java 2017-10-13 22:24:36 +02:00
Youssef Ali
f23416acdd Merge pull request #1 from youssefAli11997/youssefAli11997
Create CountingSortIntegers.java
2017-10-13 22:17:52 +02:00
Youssef Ali
295ff41346 Create CountingSortIntegers.java 2017-10-13 22:15:31 +02:00
Chetan Kaushik
f19ca12441 Merge pull request #154 from PAPERPANKS/master
adding new content to README
2017-10-13 19:43:47 +05:30
Chetan Kaushik
df310bef5d Merge pull request #195 from ayaanfaiz/master
Added Trees Basic Programs.
2017-10-13 19:42:03 +05:30
Varun Upadhyay
d77ce805fb Merge pull request #196 from varunu28/master
Synced the directory structure to that of Python repo
2017-10-13 06:59:36 -07:00
Varun Upadhyay
e53249ba23 Synced the directory structure to that of Python repo 2017-10-13 06:57:26 -07:00
Varun Upadhyay
7dd8fd16cc Merge pull request #188 from rahul1995/master
Add Longest Common Subsequence algorithm (DP)
2017-10-13 06:51:05 -07:00
Ayaan Faiz
98ef327403 Level Order Traversal(2 methods) 2017-10-13 13:50:55 +05:30
Ayaan Faiz
12af0489a7 Top view 2017-10-13 13:50:30 +05:30
Rahul Jain
ea62951117 Add Longest Common Subsequence algorithm (DP) 2017-10-13 03:43:31 +05:30
Varun Upadhyay
cf4b0ce542 Merge pull request #185 from varunu28/master
Create FindHeightOfTree.java
2017-10-12 10:32:57 -07:00
Varun Upadhyay
24b60d6f27 Create FindHeightOfTree.java 2017-10-12 10:31:46 -07:00
Varun Upadhyay
0ff7742136 Merge pull request #183 from RollandMichael7/patch-3
Add validForBase() and min/max base constants
2017-10-11 11:31:25 -07:00
Michael Rolland
de86c31dc7 Add validForBase() and min/max base constants 2017-10-11 14:22:06 -04:00
Varun Upadhyay
dbbc4cb642 Merge pull request #182 from TobCar/master
Add Linear Congruential Generator
2017-10-11 09:09:59 -07:00
Ayaan Faiz
3244f5b698 To check if tree is valid BST tree or not (#180) 2017-10-11 19:47:55 +05:30
Tobias
f6c322249f Add Linear Congruential Generator 2017-10-10 20:26:06 -07:00
Miki Pokryvailo
bb6f8271ff Merge branch 'master' into level-order 2017-10-10 17:17:31 -04:00
Varun Upadhyay
7dacb2f837 Merge pull request #164 from KyleScharnhorst/master
Add: level order traversal.
2017-10-10 11:29:02 -07:00
Varun Upadhyay
5f2492832a Merge pull request #121 from manmeet-22/patch-3
Postfix Notation using Stack
2017-10-10 11:11:01 -07:00
Varun Upadhyay
19053d052c Merge pull request #114 from RollandMichael7/patch-1
Create AnyBaseToAnyBase
2017-10-10 11:03:42 -07:00
Ayaan Faiz
a275701781 To check if tree is valid BST tree or not 2017-10-10 19:00:34 +05:30
KyleScharnhorst
0ade40ce1a Add: circular buffer implementation.
data structure used for producer consumer situations. Allows reading and
writing so long as there is data and the buffer is not full,
respectively.
2017-10-07 20:50:12 -07:00
KyleScharnhorst
7ea76784d8 Add: generic queue implementation.
Uses an arraylist its underlying datastructure.
2017-10-07 20:40:48 -07:00
KyleScharnhorst
a9e8b6b100 Add: level order traversal.
Prints each level of the bst.
I.e., Root -> its children -> its children's children -> and so on...
2017-10-07 20:23:10 -07:00