2399 Commits

Author SHA1 Message Date
136e0e23a4 Add SortStack algorithm (#5624) 2024-10-08 19:17:56 +03:00
0d68b655d2 feat : new dp algo added UniqueSubsequenceCount.java (#5586)
* feat : new algo uniquesubseqcount

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCountTest.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCountTest.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCountTest.java

* Update UniqueSubsequencesCount.java

* Update UniqueSubsequencesCountTest.java

* Update UniqueSubsequencesCountTest.java

* Update UniqueSubsequencesCountTest.java

* Update UniqueSubsequencesCount.java

---------

Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-08 10:55:34 +03:00
0b86774991 Chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5.1 (#5632)
Chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin

Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.0...surefire-3.5.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-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-10-08 09:14:21 +02:00
9fb8192356 Add QueueByTwoStacks algorithm (#5623) 2024-10-08 00:24:57 +03:00
bd9e324e8c Add QuadraticEquationSolver and test cases (#5619) 2024-10-07 21:17:45 +00:00
5dcf6c0f29 Enhance Trie data structure with added methods and tests (#5538) 2024-10-07 21:11:55 +00:00
6868bf8ba0 Add palindrome singly linkedlist optimised approach (#5617) 2024-10-07 21:58:17 +03:00
4a5bf39f8e Add another method to check valid parentheses in ValidParentheses.java (#5616) 2024-10-07 21:48:02 +03:00
732f7c8458 Add BM25 Inverted Index Search Algorithm (#5615) 2024-10-07 20:30:46 +03:00
676d451aa6 Add class documentation, improve comments in MazeRecursion.java (#5576) 2024-10-07 19:47:29 +03:00
62144f61af Add tests for AStar.java, enhance documentation (#5603) 2024-10-07 19:25:48 +03:00
d422bf5983 Add tests for AffineConverter.java (#5602) 2024-10-07 15:15:50 +00:00
25dc55e4ae Add Junit tests for ColumnarTranspositionCipher.java (#5599) 2024-10-07 15:11:56 +00:00
f80850b244 Add Junit tests for AffineCipher.java, improve documentation (#5598) 2024-10-07 18:08:55 +03:00
99d7f80a61 Add Junit tests for AESEncryption.java (#5597) 2024-10-07 18:00:57 +03:00
26e8ead4ed Add tests for A5Cipher.java, improve class & function documentation (#5594) 2024-10-07 14:28:01 +00:00
93cfa86a97 Add tests for A5KeyStreamGenerator.java, improve documentation (#5595) 2024-10-07 14:23:21 +00:00
cacd23a2bd Add binary addition (#5593) 2024-10-07 14:17:04 +00:00
a2457bd1ff Add tests for IIRFilter.java, fix bug in setCoeffs method (#5590) 2024-10-07 13:17:27 +00:00
fa7d357451 Add tests, enhance class & function documentation for KnightsTour (#5591) 2024-10-07 16:06:59 +03:00
2592a088e7 Enhance readability, add comments & function docs to SkylineProblem.java (#5534) 2024-10-07 15:26:21 +03:00
c45b2b8132 Add line clipping algorithms (#5580) 2024-10-07 12:21:39 +00:00
357fc6a271 Add LowestSetBit (#5567) 2024-10-07 12:18:25 +00:00
7f57fc92b4 Improve comments, function & class documentation in IndexOfRightMostSetBit.java (#5579) 2024-10-07 12:14:26 +00:00
dea806ea53 Add tests for ClosestPair.java (#5555) 2024-10-07 12:09:58 +00:00
9ce9443fa2 Enhance class & function documentation in WordSearch.java (#5578) 2024-10-07 12:06:08 +00:00
2cdd97cf5f Improve class & function documentation in HighestSetBit.java (#5577) 2024-10-07 15:02:57 +03:00
387707ffe5 Refactor BipartiteGraphDFS.java, add Junit tests (#5606)
* Refactor `BipartiteGraphDFS.java`, add Junit tests

* Update directory

* Fix

* Add suggested changes

* Update BipartiteGraphDFS.java

---------

Co-authored-by: Hardvan <Hardvan@users.noreply.github.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-07 14:31:13 +03:00
2001a097e2 Add HighestResponseRatioNextScheduling.java new algorithm with tests (#5607)
* Add `HighestResponseRatioNextScheduling.java` new algorithm with tests

* Update directory

* Improve class documentation

* Update directory

* Fix

* Fix

* Fix

* Add suggested changes

* Fix clang errors

---------

Co-authored-by: Hardvan <Hardvan@users.noreply.github.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-07 14:25:08 +03:00
ee6cd648bc Strengthen class & function documentation in CompositeLFSR.java (#5596)
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-06 20:12:57 +02:00
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