Oleksandr Klymenko
7590d8234f
refactor: add JavaDocs and improve readability in InfixToPrefix ( #6363 )
...
* refactor: add JavaDocs and improve readability in InfixToPrefix
* formatting: remove redundant newline
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-12 06:47:49 +00:00
Oleksandr Klymenko
acb4753d65
refactor: Improve readability and code clarity in InfixToPostfix ( #6362 )
...
refactor: improve InfixToPostfix
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-12 08:44:57 +02:00
Oleksandr Klymenko
2ccc15671f
refactor: clean up LargestRectangle and convert tests to parameterized format ( #6356 )
...
* refactor: clean up LargestRectangle and convert tests to parameterized format
* refactor: fix clang formatting issue
* refactor: fix clang formatting issue for test data
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-11 21:32:42 +02:00
S M Jishanul Islam
60060250ca
Add palindrome checker using stack ( #5887 )
2024-10-22 22:31:29 +03:00
S M Jishanul Islam
0f8cda987d
Add the retrieval of minimum and maximum element from stack at O(1) ( #5714 )
2024-10-22 18:36:14 +00:00
Hardik Pawar
adf21ab0c8
feat: Add CelebrityFinder new algorithm with Junit tests ( #5756 )
2024-10-15 08:48:48 +00:00
Hardik Pawar
776946e165
feat: Add MinStackUsingTwoStacks new algorithm with Junit tests ( #5758 )
2024-10-15 11:12:50 +03:00
Hardik Pawar
30504c179e
Add MinStackUsingSingleStack algorithm ( #5759 )
2024-10-15 08:36:22 +03:00
Hardik Pawar
bae7f89156
feat: Add PrefixEvaluator new algorithm with Junit tests ( #5755 )
2024-10-13 10:57:05 +00:00
Hardik Pawar
b0c8a8f0ce
feat: Add PostfixEvaluator new algorithm with Junit tests ( #5754 )
2024-10-13 10:50:31 +00:00
Hardik Pawar
d3bd2874c8
Add StackUsingTwoQueues algorithm ( #5625 )
2024-10-08 20:37:10 +03:00
Hardik Pawar
136e0e23a4
Add SortStack algorithm ( #5624 )
2024-10-08 19:17:56 +03:00
Hardik Pawar
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
Hardik Pawar
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
Alex Klymenko
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
Alex Klymenko
c57e02dc85
refactor: DuplicateBrackets ( #5424 )
...
refactor: DuplicateBrackets
Co-authored-by: alxkm <alx@alx.com >
2024-08-29 19:21:05 +05:30
Alex Klymenko
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
Alex Klymenko
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
Alex Klymenko
c8cf302d30
refactor: NextGreaterElement ( #5405 )
...
* refactor: NextGreaterElement
* checkstyle: fix formatting
---------
Co-authored-by: alxkm <alx@alx.com >
2024-08-27 10:39:40 +02:00
Alex Klymenko
4347f5b9f6
refactor: InfixToPostfix ( #5401 )
2024-08-26 16:43:13 +03:00
Alex Klymenko
64ff9b2efe
refactor: StackPostfixNotation ( #5400 )
2024-08-26 16:38:33 +03:00
Alex Klymenko
7e9cdad3ee
refactor: BalancedBrackets ( #5391 )
2024-08-25 23:21:30 +03:00
Alex Klymenko
3187b1f99c
refactor: DecimalToAnyUsingStack ( #5392 )
2024-08-25 23:01:52 +03:00
Piotr Idzik
cff3a59530
style: include BED_BOGUS_EXCEPTION_DECLARATION ( #5233 )
2024-06-25 06:51:24 +00:00
Samuel Facchinello
87b17e0571
style: enable NeedBraces in checkstyle ( #5227 )
...
* enable style NeedBraces
* style: enable NeedBraces in checkstyle
---------
Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com >
2024-06-13 21:00:16 +02:00
Bama Charan Chhandogi
37c2a96fe2
style: enable MissingSwitchDefault in checkstyle ( #5179 )
...
* Update directory
* Update directory
* Update directory
* Update directory
* add switch default
---------
Co-authored-by: BamaCharanChhandogi <BamaCharanChhandogi@users.noreply.github.com >
2024-05-26 17:28:00 +05:30
vaibhav9t1
9eaa2bb756
style: enable MultipleVariableDeclarations in checkstyle ( #5175 )
...
Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com >
2024-05-25 20:18:27 +02:00
Piotr Idzik
d3bb691f59
style: enable HideUtilityClassConstructor in checkstyle ( #5147 )
2024-05-08 09:58:29 +03:00
Piotr Idzik
414835db11
style: enable AvoidStarImport in checkstyle ( #5141 )
2024-05-05 20:48:56 +02:00
Piotr Idzik
098f044370
Remove CalculateMaxOfMin ( #5079 )
2024-03-22 19:18:08 +08:00
Nassor Shabataka
36580bac1e
Fix typo in NextGraterElement ( #4976 )
2023-12-06 09:37:58 +02:00
Subhradeep Bera
26c2465328
Moved StackPostfixNotation.java from the Others section to the Stack section ( #4372 )
...
* Moved StackPostfixNotation.java from the Others section to the Stack section
* Put all stack related algo in a separate stack directory in the algorithms directory. The stack directory under data-structures now only contains various implementations of the stack data structure.
* formatted files
2023-09-18 21:27:36 +02:00