Commit Graph

58 Commits

Author SHA1 Message Date
github-actions
6dd5b2029e Formatted with Google Java Formatter 2021-04-09 14:19:34 +00:00
Dennis Nilsson
0550711a3e
Update CountSinglyLinkedListRecursion.java (#2170)
Only method comment for public recursive method.
2021-04-09 22:18:51 +08:00
Du Yuanchao
95484f8c89
update SinglyLinkedList (#2058) 2020-12-01 09:33:06 +08:00
github-actions
0db62bb450 Formatted with Google Java Formatter 2020-10-24 10:31:42 +00:00
github-actions
5d59a2e828 Formatted with Google Java Formatter 2020-10-24 10:23:28 +00:00
shellhub
3b19b12f03 fixed build error 2020-10-24 16:33:40 +08:00
Nishant Ingle
afddfd02d5
Add comment above parameterised constructor 2020-10-01 21:21:56 +05:30
shellhub
e003f9a2de get element at special index 2020-09-22 11:58:41 +08:00
shellhub
cc0e3510e2 search in singly linked list using recursion 2020-09-22 11:23:45 +08:00
shellhub
e98693b140 search element 2020-09-22 11:09:19 +08:00
shellhub
093cc37806 count singly linked list using recursion 2020-09-22 11:06:57 +08:00
shellhub
26cd941143 * Update SinglyLinkedList
* Refactor MergeSortedSinglyLinkedList to single file
* Create Problem09 and Problem10 in Project Euler
2020-09-22 09:47:09 +08:00
Stepfen Shawn
ee11fcafd9
Merge pull request #1410 from rnitish/master
Added insert element by index and clearList to DoublyLinkedList.java
2020-08-17 08:21:54 +08:00
Ray S
c9fb43b44f
Update and rename ListAddnFun to ListAddnFun.java
Updates include:
add no-args constructor
add whitespace
use public class LinkedList
use private fields
2020-08-15 15:20:32 -04:00
rnitish
73888a68ea Added insert by index
Added insert by index
2020-08-12 00:13:23 +05:30
Ray
0ce51e88dd Added deleteNode method 2020-07-23 19:59:52 -04:00
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
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
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
Moetez Skouri
fc8e36c6e3 added removeDuplicates function 2020-04-29 19:07:09 +01: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
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
b54983f5bc upate SinglyLinkedList 2019-10-25 11:59:53 +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
ccea4b56e3 optimization and fix bug 2019-10-09 11:24:35 +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
37918aa27f fix memory leak 2019-09-24 21:02:47 +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
yanglbme
bdb9acfbff fix bugs in AES.java(#765) 2019-05-22 09:22:52 +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
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
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
Doru Kesriyeli
cc0980c23d
Update DoublyLinkedList.java 2018-10-07 17:29:23 -07:00