a6e873deef
style: enable MemberName
in checkstyle ( #5193 )
...
* style: enable MemberName in checkstyle
* style: simply uncomment `MemberName`
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-05-29 20:44:14 +00:00
2cda944643
style: include ENMI_EQUALS_ON_ENUM
( #5189 )
2024-05-28 19:03:52 +00:00
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
295e7436b1
style: enable MethodName
in CheckStyle ( #5182 )
...
enabled: MethodName in CheckStyle
2024-05-27 09:06:06 +02:00
ea4dc15a24
style: do not suppress try
( #5167 )
2024-05-27 03:02:36 +05:30
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
9eaa2bb756
style: enable MultipleVariableDeclarations
in checkstyle ( #5175 )
...
Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
2024-05-25 20:18:27 +02:00
8be8b953ab
style: do not suppress this-escape
( #5166 )
2024-05-20 16:09:23 +00:00
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
bbef89c885
refactor: simplify logic of Point::equals
in KDTree
( #5158 )
2024-05-12 12:37:14 +02:00
5703be5953
style: enable EqualsHashCode in checkstyle ( #5157 )
2024-05-12 11:38:07 +02:00
bbe4a025df
style: enable FinalClass
in checkstyle ( #5154 )
2024-05-11 08:50:05 +02:00
27c0978851
style: include VA_FORMAT_STRING_USES_NEWLINE
( #5151 )
2024-05-09 17:21:04 +02:00
7bff82f175
style: include LEST_LOST_EXCEPTION_STACK_TRACE
( #5150 )
2024-05-09 15:15:36 +00:00
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
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