d3bb691f59
style: enable HideUtilityClassConstructor
in checkstyle ( #5147 )
2024-05-08 09:58:29 +03:00
414835db11
style: enable AvoidStarImport
in checkstyle ( #5141 )
2024-05-05 20:48:56 +02:00
b3903f5768
style: enable RedundantModifier
in checkstyle ( #5140 )
2024-05-03 22:10:49 +03:00
1e2d7e9431
style: enable ConstantName
in checkstyle ( #5139 )
...
Co-authored-by: Maria Paszkiewicz SCC <maria.paszkiewicz@kit.edu>
2024-05-02 18:31:37 +02:00
192427a5d2
Parameterize references to generic types. ( #5078 )
...
* chore: remove unused imports
* fix: parameterize references to generic types
---------
Co-authored-by: vil02 <65706193+vil02@users.noreply.github.com>
2024-03-15 19:03:27 +01:00
ab371843ac
Close Scanner
to avoid resource leak ( #5077 )
2024-03-12 19:49:58 +01:00
47a9b1b647
Add WelshPowell
(Graph Colouring) ( #5034 )
...
* Welsh Powell Algorithm + Test
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-02-12 20:48:07 +01:00
a216cb8a59
Remove unused import from HashMapCuckooHashing
( #5018 )
...
style: remove unused import from `HashMapCuckooHashing`
2024-01-13 09:28:50 +00:00
e26fd9da71
Add OR-Set (Observed-Remove Set) ( #4980 )
2023-12-11 23:05:43 +02:00
4aa8e6a0eb
Updated TwoPSet to use Generics instead of Strings ( #4981 )
2023-12-11 20:58:56 +02:00
b8b1dea38d
Add LWW Element Set (Last Write Wins Element Set) ( #4979 )
2023-12-08 20:57:07 +02:00
92131de377
Fix compare() for subset check (S.A ⊆ T.A) ( #4978 )
2023-12-07 18:06:56 +02:00
249ee1dc99
Add 2P-Set (Two-Phase Set) for both addition and removal operations in distributed systems ( #4977 )
2023-12-07 17:23:22 +02:00
e59a3b1ebb
Add G-Set (Grow-only Set) ( #4975 )
2023-12-05 20:39:18 +02:00
3001620c1e
Add PN-Counter ( #4974 )
2023-12-04 18:22:02 +02:00
e759544c33
Add Boruvka's algorithm to find Minimum Spanning Tree ( #4964 )
2023-12-02 19:53:17 +02:00
b1efd4e34b
Add G-Counter (Grow-only Counter) ( #4965 )
2023-11-24 19:13:44 +02:00
ced9678699
Update queue readme ( #4721 )
2023-10-09 18:33:34 +03:00
06aa834fa6
Enhance queue README.md ( #4710 )
2023-10-08 10:47:35 +03:00
7f9555bd94
Update stack readme.md ( #4678 )
2023-10-07 20:37:57 +03:00
06d6e2116b
Update Readme.md ( #4634 )
2023-10-05 16:08:28 +03:00
9795bada90
Update Readme.md ( #4561 )
2023-10-03 14:22:19 +00:00
536978919d
Add reverse k group in LinkedList algorithm ( #4532 )
2023-10-03 09:43:49 +03:00
edb0489440
[FEATURE] #4486 QuickSort Algo for LinkedList ( #4487 )
...
* Added code to find Articulation Points and Bridges
* tried to solve clang-formant test
* removed new line at EOF to get lint to pass
* feature: Added Ahocorasick Algorithm
* fixed lint using clang-format
* Added QuickSort Algorithm for linked list
* removed datastructures/graphs/ArticulationPointsAndBridges and string/AhoCorasick.java from this branch
* Added datastructures/lists/SinglyLinkedList class, Replaced ListNode class
* Modified some comments
* Added tests in QuickSortLinkedListsTest.java
* removed main as added a test file to test test-cases
* test file for QuickSortLinkedLinst.java
2023-10-01 16:01:32 +00:00
26c2465328
Moved StackPostfixNotation.java from the Others section to the Stack section ( #4372 )
...
* Moved StackPostfixNotation.java from the Others section to the Stack section
* Put all stack related algo in a separate stack directory in the algorithms directory. The stack directory under data-structures now only contains various implementations of the stack data structure.
* formatted files
2023-09-18 21:27:36 +02:00
94621fb63e
Enhancing DisjointSetUnion data structure ( #4366 )
...
* Enhancing DisjointSetUnion data structure
* Linter resolved
* Linter resolved
* Linter resolved
* Linter resolved
* Added next line
* added next Line
* Resolve review comments
---------
Co-authored-by: Bama Charan Chhandogi <b.c.chhandogi@gmail.com>
2023-09-10 22:30:35 +05:30
09950d6097
Add Rotate a Linkedlist ( #4345 )
2023-09-02 19:32:28 +00:00
f010a47608
chore: enforce InsertNewlineAtEOF
in clang-format
( #4343 )
...
* style: insert newline at eof
* style: use `InsertNewlineAtEOF` in `clang-format`
* fix: use `clang-format-16`
* chore: update clang-format-lint-action to v0.16.2
---------
Co-authored-by: Debasish Biswas <debasishbsws.dev@gmail.com>
2023-09-01 04:10:46 +00:00
ea15f2bd98
Make SinglyLinkedList
Iterable
( #4334 )
2023-08-28 07:11:07 +00:00
18848574be
Make DFS and BFS search algorithms generic ( fixes #4229 ) ( #4230 )
2023-08-13 11:59:26 +05:30
4fe419ebd8
Add Recursive Reverse of Linked List ( #4292 )
...
Co-authored-by: BamaCharanChhandogi <b.c.chhandogi@gmailcom>
2023-08-10 11:38:56 +03:00
cc9afea036
Fix formatting ( #4259 )
...
Co-authored-by: Ranjeet Kumar Jena <ranjeetjena06@gmai.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2023-07-27 08:50:47 +05:30
ef4ef42ed3
Remove duplicated lines ( #4258 )
...
Co-authored-by: Ranjeet Kumar Jena <ranjeetjena06@gmai.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2023-07-25 13:36:00 +03:00
2488a2ad51
Code cleanup ( #4246 )
2023-07-22 15:23:00 +00:00
bc699b86e5
Refactor BinaryTreeIsBalanced algorithm ( #4222 )
2023-06-26 22:26:17 +08:00
415a04ea7f
Add automatic linter ( #4214 )
2023-06-09 20:05:14 +08:00
00282efd8b
style: format code ( #4212 )
...
close #4204
2023-06-09 18:52:05 +08:00
deef2ae445
Refactor CreateBinaryTreeFromInorderPreorder ( #4190 )
2023-05-14 14:52:30 +03:00
3a593d5d3c
Cover BSTRecursive with tests ( #4180 )
2023-05-06 21:10:33 +03:00
f69cd7cfa2
Remove redundant code and add tests for BSTIterative ( #4164 )
2023-04-24 14:52:38 +03:00
4c18e60671
Refactor BSTFromSortedArray ( #4162 )
2023-04-22 07:53:12 +00:00
c01a382d94
Remove redundant tree traversals ( #4161 )
2023-04-21 11:41:24 +03:00
1dc388653a
Refactor Code Style ( #4151 )
2023-04-15 11:25:54 +03:00
1ce907625b
Fix NullPointer Exception ( #4142 )
2023-04-15 11:10:39 +03:00
0c618b5ee8
Refactoring ( #4146 )
2023-04-14 08:34:47 +00:00
8259f0e9cf
Add Majority Element ( #4131 )
2023-04-13 15:28:36 +03:00
ad72c28d91
Remove unnecessary code ( #4141 )
2023-04-03 22:35:59 +08:00
2418604f7a
Add tests for SinglyLinkedList ( #3913 )
2023-03-12 13:49:17 +02:00
3e9dd776e5
Make LinkedQueue generic ( #3909 )
2023-03-05 19:08:42 +00:00
3499c1bee6
Add postorder binary tree traversal ( #3899 )
2023-02-27 12:06:39 +00:00