2256 Commits

Author SHA1 Message Date
4697b87753 chore: update maven dependencies (#5101) 2024-04-08 18:10:15 +00:00
f490b5936a docs: add codecov badge (#5099)
Continuation of #5098.
2024-04-08 18:08:35 +00:00
90704d736b fix: update clang-format tag (#5095) 2024-04-08 23:08:31 +05:30
295ac4b1ac Update codecov/codecov-action to v4 (#5100) 2024-04-06 21:50:15 +03:00
ab094ef04d chore: generate coverage report and upload it to codecov (#5098) 2024-04-06 20:36:30 +05:30
c53f178308 Implement Parentheses Generator (#5096)
* chore: add `ParenthesesGenerator` to `DIRECTORY.md`

* feat: implement Parentheses Generator

* ref: change `ParenthesesGenerator`s method to `static`

* ref: use parametrized tests

* ref: handling exception when `n < 0`

* chore: update docstrings

* ref: make `ParenthesesGenerator` to be a proper utility

* chore(docs): add private constructor docstring

* ref(tests): move bad name suggestions

* style: remove reduntant comments

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-04-05 18:41:27 +02:00
22310defcd Cleaned up code for some packages (#5094)
* Cleaned up code of some packages

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-04-02 21:26:06 +02:00
40cd4d86ef Bump gitpod/workspace-java-17 from 2023-08-30-14-07-38 to 2024-03-31-14-01-15 (#5092)
Bump gitpod/workspace-java-17

Bumps gitpod/workspace-java-17 from 2023-08-30-14-07-38 to 2024-03-31-14-01-15.

---
updated-dependencies:
- dependency-name: gitpod/workspace-java-17
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 23:52:17 +05:30
da21ffe78c chore: configure dependabot to update docker files (#5086) 2024-03-26 22:26:13 +05:30
71c5f27d85 Bump actions/stale from 4 to 9 in /.github/workflows (#5085)
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 11:20:45 +00:00
098f044370 Remove CalculateMaxOfMin (#5079) 2024-03-22 19:18:08 +08:00
84f8cee332 Bump actions/setup-python from 4 to 5 in /.github/workflows (#5084)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 19:10:09 +08:00
df20d919c8 Bump actions/setup-java from 3 to 4 in /.github/workflows (#5083)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 12:06:58 +01:00
d4e4cd24cd Bump github/codeql-action from 2 to 3 in /.github/workflows (#5082)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 11:38:44 +01:00
9d1635a28b chore: configure dependabot (#5081) 2024-03-22 16:02:13 +05:30
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
55cc562d64 chore: update actions/checkout to v4 (#5036) 2024-02-12 02:51:08 +05:30
14b3f45f9f Add ExchangeSort (#5029)
* added ExchangeSort and its testcases

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-02-01 09:25:31 +01:00
b99aeef674 Remove debasishbsws from CODEOWNERS (#5033)
As I am not very active in this repository, I should step down from being a CodeOwner /cc @BamaCharanChhandogi @yanglbme
2024-01-29 01:18:40 +05:30
55f08cc013 Add tests SumOfSubset (#5021)
* Updated main and test

* removed

* style: reorder test cases

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-01-26 19:30:26 +01:00
a216cb8a59 Remove unused import from HashMapCuckooHashing (#5018)
style: remove unused import from `HashMapCuckooHashing`
2024-01-13 09:28:50 +00:00
3528399b2e Remove unused import from JobSequencing (#5017)
style: remove unused import from `JobSequencing`
2024-01-13 10:26:44 +01:00
ac7152d757 Remove unused imports from PerfectSquareTest (#5016)
style: remove unused imports from `PerfectSquareTest`
2024-01-13 09:21:57 +00:00
9426053f73 Remove unused import from PowerOfTwoOrNotTest (#5015)
style: remove unused import from `PowerOfTwoOrNotTest.java`
2024-01-13 14:34:32 +05:30
8804cec957 Feature/4638 array right rotation (#5014)
* Create ArrayRightRotationTest.java

* Create ArrayRightRotation.java

* The updated one

* The updated one

* Added the test cases

* Added new test cases!

* Update ArrayRightRotation.java

* Update ArrayRightRotationTest.java
2024-01-13 13:59:30 +05:30
19b7a22ec9 Remove unused imports from BoyerMooreTest (#5012) 2024-01-10 20:31:38 +02:00
fd84b0b10e Add SRTF Algorithm (#5011) 2024-01-08 23:48:11 +02:00
570f7e7ef6 Remove unused import (#5010) 2024-01-08 23:44:32 +02:00
c403e00331 Use GITHUB_ACTOR in git config (#5009) 2024-01-08 23:32:18 +02:00
bb2fff0cbb Add package name (#5007) 2024-01-08 15:41:14 +02:00
0c881e39f2 Simplify minimizing lateness (#4999) 2024-01-08 15:34:36 +02:00
704b5878b6 Use Discord channel in stale issue/PR message (#5004) 2024-01-07 14:20:43 +02:00
8930ab5b16 Cleanup SumOfDigits and its tests (#4994) 2024-01-05 23:05:52 +02:00
1ea95ffa92 Cleanup PerfectSquare and its tests (#4992) 2024-01-04 12:56:48 +02:00
092ac5795b Remove SetKthBit in favor of SingleBitOperations.setBit (#4991) 2024-01-04 00:28:59 +02:00
6a0c0585e4 Add cross-correlation and auto-correlation (#4984) 2024-01-03 20:11:07 +02:00
9bef5a169c Add Playfair Cipher (#4988) 2024-01-03 15:14:38 +02:00
a7d140a43e Add Set Kth Bit (#4990) 2024-01-02 20:18:01 +02:00
7ece806cf5 Remove duplicate file of Simple Substitution Cipher (fixes #4494) (#4495) 2023-12-26 00:24:28 +02: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
36580bac1e Fix typo in NextGraterElement (#4976) 2023-12-06 09:37:58 +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