943 Commits

Author SHA1 Message Date
b0de93b3ce refactor: change packages (#5430)
* refactor: change package

* refactor: fix name

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-30 11:58:24 +02:00
f8ff6af893 refactor: BoardPath (#5431)
refactor: BoardPath

Co-authored-by: alxkm <alx@alx.com>
2024-08-30 10:12:31 +02:00
c5b72816f3 refactor: MaximumSumOfDistinctSubarraysWithLengthK (#5433)
* refactor: MaximumSumOfDistinctSubarraysWithLengthK

* checkstyle: fix formatting

* checkstyle: fix formatting

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-30 10:03:43 +02:00
cd38531b0d refactor: SubsetSum (#5432)
* refactor: SubsetSum

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-30 09:55:18 +02:00
14916e692f refactor: WordLadder (#5434)
* refactor: WordLadder

* refactor: fix redundant check

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-30 09:49:55 +02:00
87cf89192b style: use proper spelling (#5436)
checkstyle: fix typos, style

Co-authored-by: alxkm <alx@alx.com>
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-08-30 08:50:14 +02:00
d189c3a719 refactor: LeastCommonMultiple (#5435)
* refactor: LeastCommonMultiple

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-30 08:43:45 +02:00
c57e02dc85 refactor: DuplicateBrackets (#5424)
refactor: DuplicateBrackets

Co-authored-by: alxkm <alx@alx.com>
2024-08-29 19:21:05 +05:30
e2aaefebd5 refactor: CountWords (#5428)
* refactor: CountWords

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 22:34:46 +02:00
a23e9b0ba8 refactor: HashMap (#5426)
* refactor: HashMap

* checkstyle: fix formatting

* refactor: remove redundant comments

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 22:29:24 +02:00
6b7a1fdbe8 refactor: QueueUsingTwoStacks (#5427)
refactor: QueueUsingTwoStacks

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 22:25:46 +02:00
7d1847f51c refactor: PalindromicPartitioning (#5419)
refactor: PalindromicPartitioning

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 20:53:00 +02:00
0733075498 test: CountCharTest (#5423)
test: CountCharTest

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 18:45:23 +02:00
b2815db5cd refactor: LongestNonRepetitiveSubstring (#5421)
* refactor: LongestNonRepetitiveSubstring

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 18:40:27 +02:00
c413f3c6b2 refactor: LongestPalindromicSubstring (#5420)
* refactor: LongestPalindromicSubstring

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 18:35:21 +02:00
45563ccbde test: CircleLinkedListTest (#5422)
* test: CircleLinkedListTest

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-28 18:31:39 +02:00
633b9d4112 refactor: PostfixToInfix (#5409)
* refactor: PostfixToInfix

* checkstyle: fix formatting

* refactor: add support for one character

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-27 15:03:26 +02:00
fc5a70edc9 refactor: ReturnSubsequence (#5408)
* refactor: ReturnSubsequence

* checkstyle: fix formatting

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-27 13:12:49 +02:00
49d1c84cb7 refactor: ReverseString, test improvements (#5406)
* refactor: ReverseString

* refactor: refactor testing into two methods

* checkstyle: fix formatting

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-27 13:00:11 +02:00
e3ad3761fd refactor: StringCompression (#5410)
refactor: StringCompression

Co-authored-by: alxkm <alx@alx.com>
2024-08-27 12:02:50 +02:00
af7c425010 refactor: NextSmallerElement (#5412)
* refactor: NextSmallerElement

* checkstyle: fix formatting

* checkstyle: fix formatting

* checkstyle: remove redundant new line

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-27 11:31:47 +02:00
0c8616e332 test: ReverseStringRecursiveTest (#5407)
* test: ReverseStringRecursiveTest

* checkstyle: fix formatting

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-27 10:49:20 +02:00
c8cf302d30 refactor: NextGreaterElement (#5405)
* refactor: NextGreaterElement

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-27 10:39:40 +02:00
c5b73ec742 refactor: HammingDistance (#5404)
* refactor: HammingDistance

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-26 16:37:17 +02:00
d810a1d4da test: LongestPalindromicSubstring (#5402)
* LongestPalindromicSubstring

* fix Rule:CollapsibleIfStatements

---------

Co-authored-by: alxkm <alx@alx.com>
2024-08-26 16:29:16 +02:00
7674a84f5b test: RegexMatchingTest (#5403)
* test: RegexMatchingTest

* checkstyle: fix formatting

---------

Co-authored-by: alxkm <alx@alx.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2024-08-26 17:22:39 +03:00
4347f5b9f6 refactor: InfixToPostfix (#5401) 2024-08-26 16:43:13 +03:00
64ff9b2efe refactor: StackPostfixNotation (#5400) 2024-08-26 16:38:33 +03:00
b70f077343 refactor: ShortestCommonSuperSequenceLength (#5394) 2024-08-26 11:50:12 +03:00
35f23d2ddc refactor: BoyerMoore (#5395) 2024-08-26 10:33:24 +03:00
5f6510f0fa refactor: CharactersSame (#5396) 2024-08-26 09:55:50 +03:00
be6b0d835b test: EditDistanceTest (#5397) 2024-08-26 09:48:30 +03:00
cdb6412601 refactor: LineSweep (#5398) 2024-08-26 09:45:07 +03:00
6edc009765 test: LongestAlternatingSubsequenceTest (#5399) 2024-08-26 09:37:00 +03:00
93e417544d refactor: Anagrams (#5390) 2024-08-26 08:26:01 +03:00
7e9cdad3ee refactor: BalancedBrackets (#5391) 2024-08-25 23:21:30 +03:00
580aa0c9c5 refactor: CheckVowels (#5393) 2024-08-25 23:14:33 +03:00
a5f57fbfde refactor: ArrayLeftRotationTest (#5389) 2024-08-25 23:08:10 +03:00
3187b1f99c refactor: DecimalToAnyUsingStack (#5392) 2024-08-25 23:01:52 +03:00
25b8010ea8 refactor: cleanup EulersFunction (#5388) 2024-08-25 22:44:55 +03:00
f3851e3adc refactor: RemoveDuplicateFromString (#5387) 2024-08-25 22:33:41 +03:00
101cb950ae refactor: RootPrecision (#5383) 2024-08-25 11:34:12 +03:00
69e1fe9cfb refactor: LowestBasePalindrome (#5385) 2024-08-25 10:16:14 +03:00
0b0b26e3fe refactor: ReverseStackUsingRecursion (#5386) 2024-08-25 10:12:17 +03:00
e1d8b6f8a7 refactor: FordFulkerson (#5384) 2024-08-25 10:07:02 +03:00
38688440ef refactor: TwoPointers (#5380) 2024-08-25 09:29:17 +03:00
b231a72d44 refactor: NonRepeatingElement (#5375) 2024-08-24 16:08:22 +03:00
a7cd97d75e refactor: fix typo (#5372) 2024-08-24 11:57:54 +03:00
75355e87b6 refactor: PasswordGen (#5373) 2024-08-24 11:57:40 +03:00
4e72056527 refactor: FindKthNumber (#5374) 2024-08-24 11:53:35 +03:00