Commit Graph

9 Commits

Author SHA1 Message Date
PANKAJ PATWAL
e38611e9db Optimize and Format Knapsack Memoization Algorithm (#5685) 2024-10-12 07:11:25 +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
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
Saurabh Rahate
1dc388653a Refactor Code Style (#4151) 2023-04-15 11:25:54 +03:00
Ishan Makadia
0c618b5ee8 Refactoring (#4146) 2023-04-14 08:34:47 +00:00
Debasish Biswas
260f1b2bee Remove duplicate KnapsackMemoization (#3769) 2022-11-19 13:32:01 +02:00
acbin
e96f567bfc Format code with prettier (#3375) 2022-10-03 17:23:00 +08:00
Aitor Fidalgo Sánchez
9fb3364ccc Change project structure to a Maven Java project + Refactor (#2816) 2021-11-12 08:59:36 +02:00