773 Commits

Author SHA1 Message Date
0f8cda987d Add the retrieval of minimum and maximum element from stack at O(1) (#5714) 2024-10-22 18:36:14 +00:00
87030aff1e Add BaconianCipher (#5932) 2024-10-22 18:30:37 +00:00
c56d282ae0 Add DiffieHellman and MonoAlphabetic (#5508) 2024-10-22 18:16:35 +00:00
5a1f681234 Optimize BreadthFirstSearch implementation (#5882) 2024-10-22 18:07:19 +00:00
0bb22fbc7d Remove main function from GCD class (#5828) 2024-10-22 18:04:00 +00:00
ef72b1e40b Remove main function, improve docstring, add JUnit tests for KrishnamurthyNumber. (#5881) 2024-10-22 17:54:45 +00:00
efb16c1eff Add edge case to handle negative rod length in RodCutting algorithm (#5904) 2024-10-22 17:50:47 +00:00
69a1424415 Add StalinSort (#5738) 2024-10-22 20:32:51 +03:00
33dee073d0 Add AssignmentUsingBitmask algorithm (#5792) 2024-10-16 15:16:32 +03:00
169a01e0c8 Enhance documentation in FractionalKnapsack (#5795) 2024-10-16 14:29:15 +03:00
dfff8d95d2 Add MinimumWaitingTime algorithm (#5794) 2024-10-16 12:52:17 +03:00
a537654049 Add StockProfitCalculator (#5793) 2024-10-16 11:30:27 +03:00
2a518e3c9a Add Abbreviation algorithm (#5790) 2024-10-15 18:55:27 +03:00
b35f98a67a Add Rail Fence Cipher (#5761) 2024-10-15 18:23:10 +03:00
3e10f8f1d8 Add tests, remove main, fix bug in Sparsity (#5780) 2024-10-15 17:52:48 +03:00
9eff71bf05 Add tests for ConvolutionFFT (#5767) 2024-10-15 11:41:26 +00:00
f1aceea732 Enhance class & function documentation in CircularBuffer.java (#5582) 2024-10-15 14:37:35 +03:00
640d823580 Add tests, remove main in PalindromePrime (#5773) 2024-10-15 13:29:37 +03:00
9f5478f599 Fix a wrong comment in the tree postorder traversal (#5774) 2024-10-15 13:26:10 +03:00
be70801aa2 feat: add bresenham's line drawing algorithm (#5779) 2024-10-15 09:12:58 +00:00
32bf532133 refactor: Enhance docs, add more tests in ArrayCombination (#5841) 2024-10-15 08:59:16 +00:00
adf21ab0c8 feat: Add CelebrityFinder new algorithm with Junit tests (#5756) 2024-10-15 08:48:48 +00:00
776946e165 feat: Add MinStackUsingTwoStacks new algorithm with Junit tests (#5758) 2024-10-15 11:12:50 +03:00
30504c179e Add MinStackUsingSingleStack algorithm (#5759) 2024-10-15 08:36:22 +03:00
8886e0996a style: include OCP_OVERLY_CONCRETE_PARAMETER (#5833) 2024-10-14 23:46:28 +03:00
3af4cfd7c8 Add SumOfOddNumbers (#5730) 2024-10-14 23:02:40 +03:00
6ef1f7ca01 Add tests, remove main in ThreeSumProblem (#5781) 2024-10-14 17:56:05 +00:00
1dfa2e571b feat: Add ConvexHull new algorithm with Junit tests (#5789) 2024-10-14 17:51:59 +00:00
bcf4034ce5 Add tests, remove main in WordBoggle (#5782) 2024-10-14 11:27:06 +00:00
8d8834987a Add tests, remove main in EulerMethod (#5771) 2024-10-14 11:10:18 +00:00
e19378d56c Add tests, remove main in RangeInSortedArray (#5778) 2024-10-14 10:48:55 +00:00
85b3b1dfbe Add disk scheduling algorithms (#5748) 2024-10-14 11:22:30 +03:00
e9b897bdeb Add PhoneticAlphabetConverter (#5752) 2024-10-14 10:44:58 +03:00
5a710ea61f Add EndianConverter algorithm (#5751) 2024-10-14 10:39:58 +03:00
40f2d0cf8e Add MorseCodeConverter algorithm (#5749) 2024-10-14 10:28:25 +03:00
3401c003bd Add TilingProblem algorithm (#5746) 2024-10-14 10:11:21 +03:00
1e01ec5233 Add CountingInversions algorithm (#5745) 2024-10-14 10:02:55 +03:00
0020ab2a9a Add LotteryScheduling algorithm (#5656) 2024-10-14 09:57:55 +03:00
213fd5a493 Add NonPreemptivePriorityScheduling algorithm (#5535) 2024-10-14 00:05:12 +03:00
ebc3cd2233 style: resolve some FCBL_FIELD_COULD_BE_LOCAL warnings (#5764)
style: make simple fields local
2024-10-13 15:16:10 +00:00
9b52ac9633 feat: Add IPConverter new algorithm with Junit tests (#5750) 2024-10-13 11:30:27 +00:00
e291516dc9 Refactor BCD Conversion docs and add more tests (#5762) 2024-10-13 11:20:20 +00:00
bae7f89156 feat: Add PrefixEvaluator new algorithm with Junit tests (#5755) 2024-10-13 10:57:05 +00:00
b0c8a8f0ce feat: Add PostfixEvaluator new algorithm with Junit tests (#5754) 2024-10-13 10:50:31 +00:00
596c6147af Add function documentation, enhance comments in TowerOfHanoi.java (#5533) 2024-10-13 12:30:53 +03:00
6af7f7b126 Add Xs3Conversion algorithm (#5743) 2024-10-13 11:30:09 +03:00
6682c7c76e Add BcdConversion algorithm (#5742) 2024-10-13 09:22:57 +03:00
4a03f42061 Add algo for BooleanGateslogic (#5717) 2024-10-12 20:58:52 +02:00
1617ed1368 feat : new bit manipulation algo FindNthBit of a number (#5731)
* 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

* feat : new bitmanipulation algo

* feat :  new bit algo

* Update FindNthBitTest.java

* Update FindNthBit.java

---------

Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-10-12 20:47:42 +02:00
ac65af44c9 Add Johnson's algorithm (#5712) 2024-10-12 10:44:41 +03:00