S. Utkarsh
25d711c5d8
style: enable LocalVariableName in CheckStyle ( #5191 )
...
* style: enable LocalVariableName in checkstyle
* Removed minor bug
* Resolved Method Name Bug
* Changed names according to suggestions
2024-05-28 20:29:28 +02:00
Godwill Christopher
295e7436b1
style: enable MethodName in CheckStyle ( #5182 )
...
enabled: MethodName in CheckStyle
2024-05-27 09:06:06 +02:00
Piotr Idzik
ea4dc15a24
style: do not suppress try ( #5167 )
2024-05-27 03:02:36 +05:30
Bama Charan Chhandogi
37c2a96fe2
style: enable MissingSwitchDefault in checkstyle ( #5179 )
...
* Update directory
* Update directory
* Update directory
* Update directory
* add switch default
---------
Co-authored-by: BamaCharanChhandogi <BamaCharanChhandogi@users.noreply.github.com >
2024-05-26 17:28:00 +05:30
vaibhav9t1
9eaa2bb756
style: enable MultipleVariableDeclarations in checkstyle ( #5175 )
...
Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com >
2024-05-25 20:18:27 +02:00
Piotr Idzik
8be8b953ab
style: do not suppress this-escape ( #5166 )
2024-05-20 16:09:23 +00:00
Godwill Christopher
0f42e995a4
style: enabled InnerAssignment in checkstyle ( #5162 )
...
* style: enabled InnerAssignment in checkstyle
* Refactor code formatting in KnapsackMemoization.java and UnionFind.java
* style: remove redundant blank line
* style: mark `includeCurrentItem` and `excludeCurrentItem` as `final`
* style: remove `KnapsackMemoization` from `pmd-exclude.properties`
* style: use `final`
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com >
2024-05-16 16:46:03 +00:00
Godwill Christopher
bbef89c885
refactor: simplify logic of Point::equals in KDTree ( #5158 )
2024-05-12 12:37:14 +02:00
Godwill Christopher
5703be5953
style: enable EqualsHashCode in checkstyle ( #5157 )
2024-05-12 11:38:07 +02:00
Godwill Christopher
bbe4a025df
style: enable FinalClass in checkstyle ( #5154 )
2024-05-11 08:50:05 +02:00
Piotr Idzik
27c0978851
style: include VA_FORMAT_STRING_USES_NEWLINE ( #5151 )
2024-05-09 17:21:04 +02:00
Piotr Idzik
7bff82f175
style: include LEST_LOST_EXCEPTION_STACK_TRACE ( #5150 )
2024-05-09 15:15:36 +00:00
Piotr Idzik
d2ddec55e5
style: include NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION ( #5149 )
...
* style: use `assertFalse` and `assertTrue`
* style: include `NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION`
2024-05-08 22:41:46 +05:30
Piotr Idzik
d3bb691f59
style: enable HideUtilityClassConstructor in checkstyle ( #5147 )
2024-05-08 09:58:29 +03:00
Piotr Idzik
414835db11
style: enable AvoidStarImport in checkstyle ( #5141 )
2024-05-05 20:48:56 +02:00
Piotr Idzik
b3903f5768
style: enable RedundantModifier in checkstyle ( #5140 )
2024-05-03 22:10:49 +03:00
marysiuniq
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
SOZEL
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
SOZEL
ab371843ac
Close Scanner to avoid resource leak ( #5077 )
2024-03-12 19:49:58 +01:00
straf10
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
Piotr Idzik
a216cb8a59
Remove unused import from HashMapCuckooHashing ( #5018 )
...
style: remove unused import from `HashMapCuckooHashing`
2024-01-13 09:28:50 +00:00
Niklas Hoefflin
e26fd9da71
Add OR-Set (Observed-Remove Set) ( #4980 )
2023-12-11 23:05:43 +02:00
Niklas Hoefflin
4aa8e6a0eb
Updated TwoPSet to use Generics instead of Strings ( #4981 )
2023-12-11 20:58:56 +02:00
Niklas Hoefflin
b8b1dea38d
Add LWW Element Set (Last Write Wins Element Set) ( #4979 )
2023-12-08 20:57:07 +02:00
Niklas Hoefflin
92131de377
Fix compare() for subset check (S.A ⊆ T.A) ( #4978 )
2023-12-07 18:06:56 +02:00
Niklas Hoefflin
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
Niklas Hoefflin
e59a3b1ebb
Add G-Set (Grow-only Set) ( #4975 )
2023-12-05 20:39:18 +02:00
Niklas Hoefflin
3001620c1e
Add PN-Counter ( #4974 )
2023-12-04 18:22:02 +02:00
Niklas Hoefflin
e759544c33
Add Boruvka's algorithm to find Minimum Spanning Tree ( #4964 )
2023-12-02 19:53:17 +02:00
Niklas Hoefflin
b1efd4e34b
Add G-Counter (Grow-only Counter) ( #4965 )
2023-11-24 19:13:44 +02:00
Anuj Rathour
ced9678699
Update queue readme ( #4721 )
2023-10-09 18:33:34 +03:00
Aman
06aa834fa6
Enhance queue README.md ( #4710 )
2023-10-08 10:47:35 +03:00
Anuj Rathour
7f9555bd94
Update stack readme.md ( #4678 )
2023-10-07 20:37:57 +03:00
Aman
06d6e2116b
Update Readme.md ( #4634 )
2023-10-05 16:08:28 +03:00
Shreyash Kashyap
9795bada90
Update Readme.md ( #4561 )
2023-10-03 14:22:19 +00:00
Bama Charan Chhandogi
536978919d
Add reverse k group in LinkedList algorithm ( #4532 )
2023-10-03 09:43:49 +03:00
Prabhat-Kumar
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
Subhradeep Bera
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
Manan Solanki
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
Bama Charan Chhandogi
09950d6097
Add Rotate a Linkedlist ( #4345 )
2023-09-02 19:32:28 +00:00
Piotr Idzik
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
Piotr Idzik
ea15f2bd98
Make SinglyLinkedList Iterable ( #4334 )
2023-08-28 07:11:07 +00:00
Snir Turgeman
18848574be
Make DFS and BFS search algorithms generic ( fixes #4229 ) ( #4230 )
2023-08-13 11:59:26 +05:30
Bama Charan Chhandogi
4fe419ebd8
Add Recursive Reverse of Linked List ( #4292 )
...
Co-authored-by: BamaCharanChhandogi <b.c.chhandogi@gmailcom>
2023-08-10 11:38:56 +03:00
Ranjeet Kumar Jena
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
Ranjeet Kumar Jena
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
HManiac74
2488a2ad51
Code cleanup ( #4246 )
2023-07-22 15:23:00 +00:00
Albina Gimaletdinova
bc699b86e5
Refactor BinaryTreeIsBalanced algorithm ( #4222 )
2023-06-26 22:26:17 +08:00
acbin
415a04ea7f
Add automatic linter ( #4214 )
2023-06-09 20:05:14 +08:00
acbin
00282efd8b
style: format code ( #4212 )
...
close #4204
2023-06-09 18:52:05 +08:00