Commit Graph

62 Commits

Author SHA1 Message Date
khalil2535
e5e6fc154d fix BalancedBrackets.java 2018-04-14 07:16:38 +03:00
Christian Bender
63bba807a6
Merge pull request #218 from AKS1996/master
Additional files similiar to TheAlgorithms/Python
2018-03-31 16:57:44 +02:00
DESKTOP-0VAEMFL\joaom
c850d793bb Fixed Merge changes 2017-10-28 13:05:43 +01:00
DESKTOP-0VAEMFL\joaom
20d0bb2c69 Merge branch 'master' of https://github.com/freitzzz/Java
# Conflicts:
#	Data Structures/HashMap/HashMap.java
#	Huffman.java
#	Misc/FloydTriangle.java
#	Misc/Huffman.java
#	Misc/InsertDeleteInArray.java
#	Misc/RootPrecision.java
#	Misc/ft.java
#	Misc/root_precision.java
#	Others/FloydTriangle.java
#	Others/Huffman.java
#	Others/insert_delete_in_array.java
#	Others/root_precision.java
#	insert_delete_in_array.java
2017-10-28 12:59:58 +01:00
DESKTOP-0VAEMFL\joaom
467b917416 Improved files and folders name conventions and moved lost files to Misc folder 2017-10-28 12:58:07 +01:00
teerapat2539
894ec55d79 Coding standards
To comply with international standards.

https://www.hongkiat.com/blog/source-code-comment-styling-tips/
2017-10-27 21:52:00 +07:00
Chetan Kaushik
6e3ed6cdd8 Merge pull request #165 from KyleScharnhorst/add-generic-queue
Add: generic queue implementation.
2017-10-27 14:56:43 +05:30
Chetan Kaushik
7555d9e12f Merge pull request #166 from KyleScharnhorst/add-circular-buffer
Add: circular buffer implementation.
2017-10-27 14:56:27 +05:30
Chetan Kaushik
1a9aa87d68 Merge pull request #147 from dhinske/master
added Bag-datastructure
2017-10-27 14:54:41 +05:30
Chetan Kaushik
54a16b1a30 Merge pull request #145 from WilliamTomOBrien/stack-resize
Added Resize for Stacks
2017-10-27 14:53:52 +05:30
Chetan Kaushik
441de527dc Merge pull request #140 from dheeraj92/master
Trie Data structure
2017-10-27 14:47:44 +05:30
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
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
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
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
Miki Pokryvailo
6823278618 Added comments to level order traversal method, and samples in main method. 2017-10-05 16:27:54 -04:00
David Hinske
6d96760d13 addded Bag-datastructure 2017-10-04 13:57:26 +02:00
William O'Brien
68ff303df5 Added Resize for Stacks 2017-10-03 21:58:53 -05:00
Dheeraj Kumar Barnwal
077b76336e Trie Data structure
Trie Data structure implementation without any libraries
2017-10-03 23:55:02 +05:30
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