Commit Graph

45 Commits

Author SHA1 Message Date
Kenneth Nero
2a1fc02648 Many quality of code changes
Removing unused imports, cleaning up (at a base level) code, and removing some package declarations. By no means did I get all of them.
2017-10-26 19:56:18 -04:00
Varun Upadhyay
531c7639a6 Create StackOfLinkedList.java 2017-10-21 16:44:11 -07:00
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
Mansi Mittal
ab9f2b05f4 Prim's And kruskal's Algorithms 2017-10-15 15:40:36 +05:30
Chetan Kaushik
df310bef5d Merge pull request #195 from ayaanfaiz/master
Added Trees Basic Programs.
2017-10-13 19:42:03 +05:30
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
Varun Upadhyay
24b60d6f27 Create FindHeightOfTree.java 2017-10-12 10:31:46 -07:00
Ayaan Faiz
3244f5b698 To check if tree is valid BST tree or not (#180) 2017-10-11 19:47:55 +05:30
Miki Pokryvailo
bb6f8271ff Merge branch 'master' into level-order 2017-10-10 17:17:31 -04:00
Ayaan Faiz
a275701781 To check if tree is valid BST tree or not 2017-10-10 19:00:34 +05:30
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
Miki Pokryvailo
6823278618 Added comments to level order traversal method, and samples in main method. 2017-10-05 16:27:54 -04:00
mpokryva
e5381585a5 Changed find(int key) method to return null when node is not found, and updated docs accordingly. Issue #104. 2017-09-29 11:21:47 -04:00
Miki Pokryvailo
1e52ba37c3 Added level order traversal, and more nodes in main method 2017-09-28 14:11:35 -04:00
rei2hu
9b566f9441 remove makefile and update docs 2017-09-28 10:40:18 -05:00
rei2hu
381d898d86 add adjacency list implementation for graphs 2017-09-28 10:15:39 -05:00
Atishaya Jain
1e9b5724df Added function to insert a node at specified position in linked list 2017-08-15 23:04:08 +05:30
Varun Upadhyay
fde8712d79 Create TreeTraversal.java 2017-08-09 11:08:10 +05:30
ParitoshAggarwal
c993087737 Add files via upload
Generic tree updated
2017-08-06 20:32:48 +05:30
ParitoshAggarwal
c61cc8cd6b Update HashMap.java 2017-08-06 19:58:15 +05:30
ParitoshAggarwal
df34c3fdd1 Add files via upload
HashMap implemented 
Code is working and checked twice to avoid any errors
2017-08-06 19:46:08 +05:30
earngpi
d6b9e548ef update singly linked list 2017-07-16 22:19:30 +07:00
KylerSmith
8dcd01ef5f Added NodeStack.java, another stack implementation 2017-07-10 07:31:42 -07:00
KylerSmith
96e89dbaac Remove .class file 2017-07-09 17:12:59 -07:00
KylerSmith
e00d95c417 Syntax fix 2017-07-09 17:11:57 -07:00
KylerSmith
ae7aba0b44 File clean-up 2017-07-09 16:29:00 -07:00
KylerSmith
5fec65b247 Create Matrix data structure. 2017-07-08 20:10:43 -07:00
cosmeoes
cc5c1fe62e Added a few edge cases in the stack class
Added an if statement to:
>The push method to make sure the stack wasn't full.
>The pop method to make sure the stack wasn't empty.
> The peek method to make sure the stack wasn't empty.
2017-06-20 23:13:22 -06:00
James Mc Dermott
ced637c301 Rename data_structures/BinaryTree.java to data_structures/Trees/BinaryTree.java 2017-04-27 15:45:42 +01:00
James Mc Dermott
f674f9d750 Create AVLTree.java 2017-04-23 18:44:51 +01:00
zacharyjones123
03dbfa78c8 - Closed all Scanner and Buffered Readers
- Added Some Java Doc

- ReverseString - took space out of between each letter so "Zachary" to
"yrahcaZ" instead of "y r a h c aZ"

- bfs - Trying to repair this class but need to research bfs more

- dfs - Trying to repair this class but need to research dfs more

- Added new Classes
1) OctalToBinary - Not done
2) BinaryToOctal - Not done
3) OctalToDecimal - Not done
4) Graphs

-Added the dataStructure Graphs (Unfinished)
2017-04-20 11:56:21 -07:00
Moro-Code
abbc4bee08 CircleLinkedList
Uses a dummy node and generics…. this implementation of a singly linked
list eliminates need to use tail reference
2017-04-19 12:16:21 -07:00
zacharyjones123
9411d5be56 In this commit I have:
Added JavaDoc to every package except for "heaps"
2017-04-18 07:57:17 -07:00
Chetan Kaushik
8c38c60b93 Merge pull request #14 from RianGallagher/master
Added binary tree
2017-03-28 19:57:59 +05:30
Yash Bhansali
23a099d232 Stack List Implementation 2017-03-10 00:41:42 +05:30
Rian Gallagher
266538299a Added binary tree 2017-02-12 21:50:39 +00:00
Nicolas Renard
4338456f9c Adding computing time (O(log n)) in help text. 2016-12-13 16:09:28 +01:00
Nicolas Renard
c3dda1f0dd Adding exception throws in case of handling empty heap. 2016-12-13 15:52:17 +01:00
Nicolas Renard
4c14273d17 Adding all heap classes and interface and specific exception. 2016-12-13 15:42:35 +01:00
Rian Gallagher
a56dc240be Added doubly linked list 2016-11-28 22:49:28 +00:00
Rian Gallagher
c65e562e70 Added Queues, Priority Queues and Linked Lists 2016-11-22 15:55:15 +00:00
Rian Gallagher
67d3bf5ee1 Fixing folder problems 2016-11-21 22:13:34 +00:00
Rian Gallagher
33e74a0e70 Added array implementation of a stack 2016-11-21 12:38:53 +00:00