Stepfen Shawn
88c6ad9787
Merge pull request #1325 from mariaRoxana94/fix-error
...
Fixed 8XCorrectness_Bugs + 10XBad_Practice_Bugs + 14XDodgy_Code_Bugs
2020-05-28 23:04:56 +08:00
Ritik2604
a23a17ba65
Update Intersection
2020-05-25 03:22:27 +05:30
Ritik2604
82e2132557
Update AVLSimple
2020-05-25 03:06:36 +05:30
Ritik2604
f710f3aafa
Update ListAddnFun
2020-05-25 03:02:15 +05:30
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
Ritik2604
1ef46dbfd4
Update GraphAlgos
2020-05-25 02:50:24 +05:30
Ritik2604
01d5814557
Create Intersection
2020-05-23 05:57:55 +05:30
Ritik2604
3a234f0914
Delete Node.java
2020-05-23 05:56:23 +05:30
Ritik2604
9a8ccea976
Delete LinkedList.java
2020-05-23 05:54:34 +05:30
Ritik2604
ef2be071b0
Create AVLSimple
2020-05-23 05:33:40 +05:30
Ritik2604
4842a4ca61
Update and rename SinglyLinkedList to ListAddnFun
2020-05-23 05:32:30 +05:30
Ritik2604
278529eb8e
Create SinglyLinkedList
2020-05-23 05:30:43 +05:30
Ritik2604
627115b336
Created Graph Algos
...
it contains Dijkstra, Prims, dft, bft, dfs, bfs and many more.
2020-05-22 16:23:41 +05:30
Ritik2604
72258d4ffe
Create GenericHeap
2020-05-21 03:16:36 +05:30
Stepfen Shawn
979fa2327d
Update AVLTree.java
2020-05-12 16:43:04 -05:00
Stepfen Shawn
a004747235
Merge pull request #1302 from moetezz/moetezsk
...
implement search in AVL tree
2020-05-13 05:34:20 +08:00
Stepfen Shawn
a43765d8d9
Merge pull request #1292 from moetezz/moetezz
...
added removeDuplicates() function
2020-05-12 05:56:45 +08:00
Moetez Skouri
59488a1063
implement search with search helper
2020-05-05 00:39:49 +01:00
Moetez Skouri
fc8e36c6e3
added removeDuplicates function
2020-04-29 19:07:09 +01:00
Wesllhey Holanda
e7ddedb37c
dynamic array data structure
2020-04-10 14:43:32 -03:00
EAlexa
b351c33ad3
close Reader
2020-04-07 16:48:57 +02:00
EAlexa
fecfe9d705
remove unused method
2020-04-07 16:36:03 +02:00
EAlexa
0c334a9487
remove unused variable
2020-04-07 16:32:48 +02:00
EAlexa
3f34fb6b98
remove deprecated use of Character
2020-04-07 16:32:07 +02:00
EAlexa
7ef06c0b26
added type parameter
2020-04-07 16:01:30 +02:00
Alexandra Englert
c184e1cecb
Update RedBlackBST.java
...
closing Scanner scan
2020-03-20 22:17:01 +01:00
Alexandra Englert
dd73b46a25
Update Main.java
...
fixing bug
Program is causing a NoSuchElementException
2020-03-20 21:56:35 +01:00
Alexandra Englert
ecfbadc789
Update Cycles.java
...
removing unused member variable finalCycles
2020-03-20 21:41:58 +01:00
Alexandra Englert
c480377c7e
Update PrimMST.java
...
removing unused import java.lang.*
2020-03-20 21:37:31 +01:00
Alexandra Englert
7a52313e21
Update Cycles.java
...
closing Scanner in
2020-03-20 21:36:35 +01:00
Hassan
a1f59c38b1
Closing scanners.
2020-01-28 18:34:52 +02:00
Hassan
4f45c5a479
Fixing packages.
2020-01-28 18:18:15 +02:00
Caesar
be6b25946a
Fix bug
2020-01-26 14:15:18 +08:00
Yang Libin
cbc1899b38
Merge pull request #1145 from shellhub/dev
...
update AnyBaseToDecimal and optimization
2019-10-28 14:08:08 +08:00
shellhub
064a84f971
statistics optimization
2019-10-27 18:04:12 +08:00
shellhub
87fcd2c8a4
make code readable
2019-10-27 17:56:39 +08:00
shellhub
b54983f5bc
upate SinglyLinkedList
2019-10-25 11:59:53 +08:00
shellhub
fce3d838db
update LinkedQueue
2019-10-24 14:32:07 +08:00
shellhub
c63dbad401
LinkedQueue
2019-10-22 21:53:13 +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
a5997e8d7b
update SinglyLinkedList
2019-10-16 22:27:07 +08:00
shellhub
14d67ffdf4
clear list
2019-10-15 22:18:12 +08:00
shellhub
8ae6b4e64b
update BalancedBrackets
2019-10-13 09:36:36 +08:00
Yang Libin
86d6a59fb4
Merge pull request #995 from shellhub/master
...
toString
2019-10-10 14:06:58 +08:00
Yang Libin
5b185e8191
Update Queues.java
2019-10-10 14:06:38 +08:00
shellhub
ccea4b56e3
optimization and fix bug
2019-10-09 11:24:35 +08:00
shellhub
c698b43a6b
toString
2019-10-08 22:41:49 +08:00
shellhub
0e7675a48e
mergeSortedArrayList
2019-10-07 17:20:28 +08:00
shellhub
c51e2b68e7
update
2019-10-06 20:39:09 +08:00
shellhub
20cd57cf81
init with DEFAULT_CAPACITY
2019-09-28 22:29:47 +08:00
Yang Libin
cfc26a865e
Update Queues.java
2019-09-28 20:54:35 +08:00
shellhub
947127cfb6
make code less
2019-09-26 16:14:51 +08:00
shellhub
ef767fc4d5
optimization
2019-09-25 20:26:48 +08:00
shellhub
dff1b0931c
fix EmptyStackException
2019-09-25 08:57:42 +08:00
shellhub
37918aa27f
fix memory leak
2019-09-24 21:02:47 +08:00
yeongmo-j
df6e16438c
Fix StackArray.java resize()
2019-09-03 12:23:01 +09:00
Yang Libin
ec91f0c2ad
Rename GenericTree.Java to GenericTree.java
2019-06-20 15:53:35 +08:00
Abhijay Kumar
b6581eaa16
Fix for Issue #773 . Deleting an element that doesn't exist causes NPE
2019-05-30 13:04:15 +05:30
Abhijay Kumar
9b78621215
Revert "Fix for Issue #773 . Deleting an element that doesn't exist causes NPE"
...
This reverts commit 7eb0785073
.
2019-05-30 12:59:36 +05:30
Abhijay Kumar
7eb0785073
Fix for Issue #773 . Deleting an element that doesn't exist causes NPE
2019-05-30 12:56:17 +05:30
Abhijay Kumar
2b83b31fa4
Merge branch 'master' into master
2019-05-29 17:07:24 +05:30
Abhijay Kumar
1dbbb23cfd
Fix for Issue #771 . position=size causes NPE
2019-05-29 16:53:42 +05:30
Daher Daher
12d240414d
Update GenericArrayListQueue.java
...
Documentations added
2019-05-27 13:39:33 +03:00
yanglbme
bdb9acfbff
fix bugs in AES.java( #765 )
2019-05-22 09:22:52 +08:00
yanglbme
b1d4be7f86
docs: update AnyBaseToAnyBase and GenericTree
2019-05-09 20:20:44 +08:00
yanglbme
29948363da
docs: update the whole repository
...
* fix some bugs
* delete duplicate files
* format code
2019-05-09 19:32:54 +08:00
Libin Yang
45757c0165
Merge pull request #718 from PrathamGupta/patch-1
...
Updated DoublyLinkedList.java
2019-03-23 15:44:04 +08:00
Libin Yang
14974872fd
Update DoublyLinkedList.java
2019-03-23 15:43:38 +08:00
Egoscio
10932ccab1
Comparing Matrix size before content size.
2019-03-21 14:33:14 -07:00
Egoscio
067e39dbf5
Made Matrix equality comparison deep.
...
Solution to the issue #719
2019-03-21 14:19:16 -07:00
yanglbme
4bc83966c3
Update Merge_K_SortedLinkedlist.java
...
format code
2019-03-20 16:24:11 +08:00
pandeyarun709
f3ef5b64ae
Add Merge K sorted LinkedList
2019-03-20 13:24:23 +05:30
Pratham Gupta
ece940b655
Updated DoublyLinkedList.java
...
Changes made in Insert and Delete functions.
2019-03-16 13:05:26 +05:30
Ojas Saxena
6c4fd0efb0
Major Updates in SinglyLinkedList.java
...
- The "count" variable made the code more prone to errors, so I removed and replaced it with another "getSize()" function.
- The value of "next" was initialized to null.
- Major improvements of code were given to "insertNth()" and "deleteHead()" functions for efficiency.
- A new function "deleteNth()" was defined, increasing the usefulness of the program.
2019-03-06 15:35:04 +05:30
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