afc06d5632
Enhance class & function documentation in LFUcache.java
( #5583 )
...
* Enhance class & function documentation in `LFUcache.java`
* Fix
---------
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-06 19:41:29 +02:00
b190cb72de
Add countsetbits problem with lookup table approach ( #5573 )
2024-10-06 07:15:32 +00:00
1feceb7d11
Add MLFQ Scheduler ( #5575 )
2024-10-06 10:12:11 +03:00
4008e4967c
Add treap class ( #5563 )
2024-10-06 10:01:54 +03:00
07cb6c46a8
Add autokey cipher ( #5569 )
2024-10-06 05:37:56 +00:00
f34fe4d840
Enhance comments & improve readability in LongestCommonSubsequence.java
( #5523 )
2024-10-05 15:43:42 +03:00
339027388e
Improve comments in SumOfSubset.java
( #5514 )
2024-10-05 15:39:22 +03:00
ce34595628
Improve TrieImp.java
comments & enhance readability ( #5526 )
2024-10-05 12:47:52 +03:00
87871efcdb
Chore(deps): bump org.junit:junit-bom from 5.11.1 to 5.11.2 ( #5571 )
...
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5 ) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.1...r5.11.2 )
---
updated-dependencies:
- dependency-name: org.junit:junit-bom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 22:21:13 +00:00
e7c855bac2
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter from 5.11.1 to 5.11.2 ( #5572 )
...
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.1...r5.11.2 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 22:18:23 +00:00
02ed610eb6
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api from 5.11.1 to 5.11.2 ( #5570 )
...
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5 ) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.1...r5.11.2 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-05 00:15:33 +02:00
042d458d34
fix: change location of others to correct places ( #5559 )
2024-10-04 17:47:50 +00:00
393337fa8e
Add Tests for HillCipher ( #5562 )
2024-10-04 17:18:51 +00:00
389d1d70d5
feat: add conversion logic from integer to english ( #5540 )
...
* feat: add conversion logic from integer to english
* feat: update DIRECTORY.md
* feat: fix linting issues
* feat: fix build issue
* feat: address review comments
---------
Co-authored-by: sailok.chinta <sailok.chinta@kotak.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-04 20:13:40 +03:00
ea6457bf41
Add PrefixToInfix.java
new algorithm ( #5552 )
...
* Add `PrefixToInfix.java` new algorithm
* Update directory
* Fix clang error
* Update directory
* Fix comment
* Add suggested changes
---------
Co-authored-by: Hardvan <Hardvan@users.noreply.github.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-04 19:58:52 +03:00
b61c54797b
Add Infix To Prefix
new algorithm with unit tests ( #5537 )
...
* Add `Infix To Prefix` new algorithm
* Update directory
* Update directory
* Fix clang
* Fix clang
* Add more tests
* Fix comma error
* Fix test cases
* Fix comment
* Remove unused import
* Update directory
* Add tests for null & empty strings
* Implement suggested changes
* Update directory
* Fix comment
---------
Co-authored-by: Hardvan <Hardvan@users.noreply.github.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-04 19:40:44 +03:00
5cbdb475ee
Add digit separation for large integers ( #5543 )
2024-10-04 16:28:36 +00:00
de22158b80
Add tests for SkylineAlgorithm.java
( #5556 )
2024-10-04 19:26:18 +03:00
41f767ef94
Add XOR Cipher ( #5490 )
2024-10-04 16:10:18 +00:00
66ee59cbaf
Add function documentation in Sudoku.java
( #5532 )
...
* Add function documentation and parameterized tests to Sudoku.java
* Update directory
* Update directory
* Fix clang format errors
* Change
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Remove extra line
* Change values
* Fix
* Remove test
* Update directory
* Small comment fix
* Add comment
* Generalize comment
* Fix comment
* Update directory
* Fix comment
* Add changes suggested
---------
Co-authored-by: Hardvan <Hardvan@users.noreply.github.com>
2024-10-04 18:28:03 +03:00
be8df2188c
Adds Longest Arithmetic Subsequence Implementation ( #5501 )
...
* Added LongestArthmeticSubsequence
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-10-03 15:04:49 +02:00
48a298028d
feat: Remove duplicate implementation of Dutch National Flag Sort Algorithm ( #5541 )
...
* feat: Remove duplicate implementation of Dutch National Flag Sort Algorithm
* feat: update DIRECTORY.md
---------
Co-authored-by: sailok.chinta <sailok.chinta@kotak.com>
2024-10-03 13:51:34 +03:00
7b934af257
Improve comments, add function documentation in BinarySearch2dArray.java ( #5518 )
2024-10-03 07:10:59 +00:00
ce6d98f8da
Add Merge Intervals algorithm ( #5516 )
2024-10-03 10:07:44 +03:00
ea0ed23961
feat: removing duplicate implementation of Dutch National Flag Sort Algorithm ( #5539 )
...
feat: removing duplicate implementation of Dutch National Flag Sort Implementation
Co-authored-by: sailok.chinta <sailok.chinta@kotak.com>
2024-10-03 09:42:38 +03:00
d436910ac4
Sorted Linked List Added ( #5519 )
...
* Sorted Linked List added with Javadoc and tests
* "Added comments to SortedLinkedList.java to describe the implementation and provide a reference link."
* Upgraded test from junit 4 to junit 5
* Added space before braces of functions
* Rename SortedlinkedListTest.java to SortedLinkedListTest.java
* made to string null safe
* Updated tail
* "Added assignment of `this.tail` to `newNode` in `SortedLinkedList` class."
* Remove assertions for minValue and maxValue in empty list test
* tried to get link updated
* "Fixed whitespace and formatting issues in SortedLinkedList.java and SortedLinkedListTest.java"
* formatting of test file corrected
* Removed few whitespaces
* Addressed comments by alxkm
* "Updated toString method to include brackets and removed default Node constructor."
* tests updated
2024-10-03 08:58:22 +03:00
013d122e7d
feat: add recursion subsets ( #5503 )
2024-10-02 18:51:23 +00:00
e493eb2958
Add Edmonds Blossom Algorithm ( #5471 )
2024-10-02 18:04:01 +00:00
842ff5294f
Improve comments & readability in ClimbingStairs.java ( #5498 )
2024-10-02 13:55:57 +00:00
e6f597acaf
Add Gale-Shapley Algorithm and Tests ( #5494 )
2024-10-02 13:50:30 +00:00
dab8ff3d1d
Improve comments in Mcoloring.java ( #5484 )
2024-10-02 16:46:34 +03:00
0bd86b3d7e
Improve comments in ActivitySelection.java ( #5485 )
2024-10-02 13:34:52 +03:00
7f60d57504
style: include NAB_NEEDLESS_BOX_TO_UNBOX
( #5488 )
2024-10-01 12:56:36 +03:00
7a5a9e3bda
Chore(deps): bump com.mebigfatguy.fb-contrib:fb-contrib from 7.6.4 to 7.6.5 ( #5486 )
...
* Chore(deps): bump com.mebigfatguy.fb-contrib:fb-contrib
Bumps [com.mebigfatguy.fb-contrib:fb-contrib](https://github.com/mebigfatguy/fb-contrib ) from 7.6.4 to 7.6.5.
- [Commits](https://github.com/mebigfatguy/fb-contrib/compare/v7.6.4...v7.6.5 )
---
updated-dependencies:
- dependency-name: com.mebigfatguy.fb-contrib:fb-contrib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: suppress `BAS_BLOATED_ASSIGNMENT_SCOPE`
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: vil02 <65706193+vil02@users.noreply.github.com>
2024-10-01 00:47:40 +02:00
1cb874f764
Chore(deps): bump com.puppycrawl.tools:checkstyle from 10.18.1 to 10.18.2 ( #5487 )
...
Chore(deps): bump com.puppycrawl.tools:checkstyle
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle ) from 10.18.1 to 10.18.2.
- [Release notes](https://github.com/checkstyle/checkstyle/releases )
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.18.1...checkstyle-10.18.2 )
---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 00:23:59 +02:00
7c56a734e9
Add Volume "Algorithm Frustum Of Cone" Then Test It. ( #5479 )
...
* Add Function volumeFrustum To Calculate Frustum Of Cone Then Test It.
* Add Function volumeFrustumOfCone To Calculate Frustum Of Cone Then Test It.
* Update VolumeTest.java
* Update Volume.java
2024-09-30 23:24:24 +05:30
1e8abf1ddf
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter from 5.11.0 to 5.11.1 ( #5473 )
...
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.0...r5.11.1 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 07:05:34 +02:00
a3cb8ee24f
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api from 5.11.0 to 5.11.1 ( #5474 )
...
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5 ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.0...r5.11.1 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 07:01:46 +02:00
a54c3d463d
Chore(deps): bump org.junit:junit-bom from 5.11.0 to 5.11.1 ( #5475 )
...
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5 ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.0...r5.11.1 )
---
updated-dependencies:
- dependency-name: org.junit:junit-bom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 06:57:27 +02:00
27343e7aa8
fix: handle Null Dereference in NthUglyNumber
( #5469 )
2024-09-24 23:30:38 +05:30
1460eb7bbe
Add Manacher’s Algorithm for Longest Palindromic Substring ( #5462 )
...
* Added Manacher Algorithm
* Formatted ManacherTest.java
* Formatted Manacher.java
* Refactor: Update Manacher's algorithm tests and improve readability
- Added parameterized tests for longestPalindrome, empty cases, complex cases, and sentence palindromes.
- Removed unnecessary comments for cleaner code.
- Renamed variable `p` to `palindromeLengths` for clarity based on code review feedback.
---------
Co-authored-by: Ionut Hodoroaga <ionut.hodoroaga20@gmail.com>
2024-09-24 16:21:57 +03:00
2643ab5fe8
Chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.3 to 4.8.6.4 ( #5465 )
...
Chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin
Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.8.6.3 to 4.8.6.4.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.8.6.3...spotbugs-maven-plugin-4.8.6.4 )
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 23:49:05 +02:00
18f6f8c30a
fix: handle Null Dereference in RomanToInteger
( #5461 )
2024-09-23 11:33:55 +03:00
b849cbb602
fix: handle Null Dereference in UnitsConverter
( #5460 )
2024-09-22 11:20:23 +02:00
3fe1de0092
style: use consistent workflow naming ( #5459 )
2024-09-21 22:51:36 +02:00
0f0f5e172f
chore: add run_infer.yml
( #5456 )
...
* chore: add `run_infer.yml`
* chore: add infer output to `.gitignore`
2024-09-22 01:54:47 +05:30
63fa04288b
refactor: ColorContrastRatio
( #5457 )
2024-09-21 11:50:19 +03:00
e782c7ac3d
style: use getOrDefault
in MajorityElement
( #5455 )
2024-09-19 18:49:28 +03:00
7bde1523a5
style: use getOrDefault
in MajorityElement
( #5454 )
2024-09-18 22:58:49 +02:00
2f9f448a1f
Chore(deps): bump gitpod/workspace-java-21 from 2024-07-14-17-19-51 to 2024-09-11-00-04-27 ( #5452 )
...
Chore(deps): bump gitpod/workspace-java-21
Bumps gitpod/workspace-java-21 from 2024-07-14-17-19-51 to 2024-09-11-00-04-27.
---
updated-dependencies:
- dependency-name: gitpod/workspace-java-21
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-09-17 00:20:29 +02:00