3 Commits

Author SHA1 Message Date
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
c86ba856a8 removed duplciated data-structures 2018-07-25 16:37:10 +02:00
82ef795675 Remove space from Data Structures package name 2018-04-14 06:45:48 +03:00