Anubhav
977c982904
Add Minimum Window Substring algorithm in Sliding Window package ( #6553 )
...
* Create MinimumWindowSubstring.java
* Create MinimumWindowSubstringTest.java
* correct MinimumWindowSubstringTest.java
* Added more test cases
* Update MinimumWindowSubstringTest.java
* Update MinimumWindowSubstringTest.java
* Update MinimumWindowSubstringTest.java
* Update MinimumWindowSubstringTest.java
* Update MinimumWindowSubstringTest.java
* Update MinimumWindowSubstringTest.java
* Added test case "AAABBC" "AABC"
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-10-02 20:25:48 +02:00
Deniz Altunkapan
6c24d27b03
Move methods from others to correct packages ( #6475 )
...
refactor: Move methods from `others` package to their respective packages
2025-08-18 22:28:19 +02:00
02RdDT
616d15a408
Shortest coprime segment using sliding window technique ( #6296 )
...
* Shortest coprime segment using sliding window technique
* mvn checkstyle passes
* gcd function reformatted
* fixed typo in ShortestCoprimeSegment
* 1. shortestCoprimeSegment now returns not the length, but the shortest segment itself.
2. Testcases have been adapted, a few new ones added.
* clang formatted ShortestCoprimeSegmentTest.java code
2025-06-18 21:29:35 +02:00
PANKAJ PATWAL
bca8d0efe0
Add Longest Subarray With Sum Less Than or Equal to K algorithm ( #6042 )
2024-10-27 22:54:30 +02:00
Rashi Dashore
03777f8d88
Add MinSumKSizeSubarray algorithm ( #6025 )
2024-10-26 14:54:53 +00:00
PANKAJ PATWAL
0f1dcbe479
Add longest substring ( #6007 )
2024-10-25 20:18:40 +00:00
PANKAJ PATWAL
bc9645c0ea
Add Sliding Window algorithm and tests for maximum sum of subarray ( #6001 )
2024-10-25 20:38:26 +03:00