Commit Graph

142 Commits

Author SHA1 Message Date
yanglbme
2ea534000b
Update StackOfLinkedList.java 2019-03-05 10:18:20 +08:00
Ojas Saxena
d60f836861
Updated StackOfLinkedList.java
I made the code shorter and less prone to mistakes by removing the "size" variable altogether from the LinkedList class. I found that after each push/pop operation, changing the value of size did make the code more efficient, but made it more prone to mistakes. So, for empty stack, a simple "head == null" was enough, which has been incorporated.
2019-03-04 15:05:15 +05:30
Libin Yang
2b3e82fd4c
Update Queues.java 2019-02-25 09:33:06 +08:00
Libin Yang
36d6b5133f
Update PriorityQueues.java 2019-02-17 09:18:50 +08:00
Akhil
b73757e4bb
Update PriorityQueues.java
Include condition to check if the queue is full when inserting values into the queue
2019-02-16 20:24:39 +05:30
yanglbme
46bbfaa0e8 fix: fix wrong heaps package and close #700
- Fix #700
2019-02-07 00:11:13 +08:00
yanglbme
8b92c3fdbe fix: remove unnecesary throw to fix #704
- Fix #704
- Thanks @lprone
2019-02-06 10:13:55 +08:00
Libin Yang
cbfa8875aa
Update CSVFile.java to fix #705
- Fix wrong assignation
2019-02-04 16:18:12 +08:00
saeed jinat
d4f05e3af1
CursorLinkedList
added CursorLinkedList basic implementation
2019-01-30 03:14:57 +02:00
Libin Yang
f348e1832b
Update SinglyLinkedList.java 2019-01-27 09:46:48 +08:00
ulvi
b123975b56 added new field and modified some methods 2019-01-27 02:26:01 +04:00
Leonardo Galves
55b6ff5c18 Correction of a RuntimeException Uncompilable source code 2019-01-17 13:43:12 -02:00
Libin Yang
7c33d2e313
Update StackArrayList.java 2019-01-06 09:01:33 +08:00
Libin Yang
fc64d05b5c
Format code in StackArray 2019-01-06 08:56:51 +08:00
Hayder Hassan
29b7ad43d1 Remove Stacks.java which has been replaced by two new files
StackArray.java & StackArrayList.java
2019-01-04 22:36:37 +00:00
Hayder Hassan
bbbf63c9a1 Move code for Stack ArrayList from Stacks.java to StackArrayList.java 2019-01-04 22:22:08 +00:00
Hayder Hassan
4bbc39f93b Move code for Stack Array from Stacks.java to StackArray.java 2019-01-04 22:10:02 +00:00
1700022814
c4f7a45ed2 fix BinaryTree.java put method#644 2018-11-18 16:22:08 +08:00
shivg7706
5eaa579832 all cycles present in a graph 2018-10-18 15:47:00 +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
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
Saurabh Thakur
bf27d9b270 Minimum priority queue added alongside heap sort implementation 2018-10-05 00:24:14 +05:30
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
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
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
871793bed1
Deleted conflict file for hahsmap 2018-07-25 09:16:16 -07:00
Christian Bender
c86ba856a8 removed duplciated data-structures 2018-07-25 16:37:10 +02:00
Christian Bender
595cc8fd6b
Merge pull request #440 from Skhwan/master
Fix #436 - CircleLinkedList malfunction
2018-06-07 22:27:02 +02:00
Christian Bender
ace36bb245
Merge pull request #446 from hsh0130/issue1
Issue1
2018-06-07 22:24:38 +02:00
Christian Bender
4733a63f60
Merge pull request #447 from dnjsndnjs/stack
fix stack
2018-06-07 22:24:16 +02:00
PalAditya
5921efc83e Added the implementation of the so far missing Bellman-Ford algorithm. 2018-06-03 23:14:13 +05:30
Seongwon Im
cf39466164 fix stack 2018-05-28 11:09:22 +09:00
hong skkusosc
5e9e829bb3 third commit 2018-05-27 21:37:01 +09:00
Khwanchanok Srimool
a85f2525b4 fix remove method 2018-05-20 03:39:26 +07:00
Khwanchanok Srimool
c4a8e1e18c fix null value issue stated in #436 2018-05-20 03:37:00 +07:00
Khwanchanok Srimool
6afdadd28f refactor indentation 2018-05-20 03:25:30 +07:00
khalil2535
82ef795675 Remove space from Data Structures package name 2018-04-14 06:45:48 +03:00