Commit Graph

354 Commits

Author SHA1 Message Date
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
Mani Manasa Mylavarapu
47c44aacff Added Armstrong number algorithm.
fixes #96
2017-10-21 18:40:01 +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
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
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
Chetan Kaushik
29c45d76f5 Merge pull request #162 from freitzzz/master
Columnar Transposition Cipher with example usage
2017-10-06 14:02:34 +05:30
DESKTOP-0VAEMFL\joaom
2128c7a15d Columnar Transposition Cipher with example usage 2017-10-05 22:37:13 +01:00
Miki Pokryvailo
6823278618 Added comments to level order traversal method, and samples in main method. 2017-10-05 16:27:54 -04:00
karimElmougi
5919171001 Merge pull request #1 from karimElmougi/master
Add bogo sort
2017-10-05 10:40:35 -04:00
karimElmougi
8717d61b59 Add bogo sort 2017-10-05 10:37:31 -04:00
Deepak
cc4fda5d0c updated
proper spacing
2017-10-05 19:32:03 +05:30
Deepak
a92743cd6f Add Eggdroping puzzle
Dynamic Programming solution for the popular Egg Dropping Puzzle
2017-10-05 19:26:35 +05:30
Acha Jackson
35bd2bb9df #96.Added and Implemented Counting sort with Java 2017-10-05 13:23:11 +01:00
Pankaj Kumar Gautam
50f8693ffa Update README.md 2017-10-05 13:17:11 +05:30
Pankaj Kumar Gautam
a139d6b5bc updating file according to new algorithms added 2017-10-05 13:16:13 +05:30
Gagan
d0b3bfa3f6 Simple Heap Sorting Technique Using Java
Heap sort is a comparison based sorting technique based on Binary Heap data structure
2017-10-05 10:21:24 +05:30
Ribhav Pahuja
76042f4713 Added Ternary Search 2017-10-05 00:55:27 +05:30