Commit Graph

27 Commits

Author SHA1 Message Date
Andrii Siriak
dfe189b21f
Resolve build errors & cleanup structure (#2334) 2021-09-26 12:26:59 +03:00
mohamadAmin
01179a3de6
create Readme.md for stacks (#2279)
* create Readme.md for stacks

* Update README.md

Co-authored-by: Yang Libin <contact@yanglibin.info>
2021-08-23 11:07:33 +08:00
shellhub
7137ac0164 Format with google formatter 2020-10-27 11:23:46 +08:00
shellhub
6faa2e31f2 infix to postfix 2020-10-27 11:07:01 +08:00
github-actions
5d59a2e828 Formatted with Google Java Formatter 2020-10-24 10:23:28 +00:00
shellhub
89ae3d5dec Updated StackArrayList 2020-09-14 20:18:54 +08:00
shellhub
1b09878aaf update Stack 2020-08-27 20:24:00 +08:00
Maria Lungeanu
a5f42e293b Fixed Error:(6, 8) java: class algorithm is public, should be declared in a file named algorithm.java. Inside file PrimeFactorization, the name of public class was wrong. 2020-05-25 00:21:28 +03:00
Hassan
4f45c5a479 Fixing packages. 2020-01-28 18:18:15 +02:00
shellhub
87fcd2c8a4 make code readable 2019-10-27 17:56:39 +08:00
shellhub
ffb3195b38 DecimalToAnyUsingStack 2019-10-19 23:05:22 +08:00
shellhub
bb9e082aa9 update StackOfLinkedList 2019-10-18 17:47:04 +08:00
shellhub
8ae6b4e64b update BalancedBrackets 2019-10-13 09:36:36 +08:00
shellhub
20cd57cf81 init with DEFAULT_CAPACITY 2019-09-28 22:29:47 +08:00
shellhub
dff1b0931c fix EmptyStackException 2019-09-25 08:57:42 +08:00
yeongmo-j
df6e16438c Fix StackArray.java resize() 2019-09-03 12:23:01 +09:00
yanglbme
29948363da docs: update the whole repository
* fix some bugs
* delete duplicate files
* format code
2019-05-09 19:32:54 +08:00
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
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
Christian Bender
c86ba856a8 removed duplciated data-structures 2018-07-25 16:37:10 +02:00
Seongwon Im
cf39466164 fix stack 2018-05-28 11:09:22 +09:00
khalil2535
82ef795675 Remove space from Data Structures package name 2018-04-14 06:45:48 +03:00