Commit Graph

52 Commits

Author SHA1 Message Date
vunamtien 2dc927ea9b
BAEL-7555-count-unique-digit-in-integer (#15933)
* BAEL-7555-count-unique-digit-in-integer

* rename test case

* add solution using stream
2024-03-06 18:47:29 +01:00
Pedro Lopes c39267bbf9
BAEL-7410: Finding Parent of a Node in a Binary Tree (#15736)
* adding the parent method. wrapping up structure of tree

* wrapping up recursive solution with edge cases. tests passing

* refactor parent function for clarity

* renaming Test class to suffix UnitTest

* adding iterative version tests. adding parent keeper tree and tests

* final adjustments

* adding review suggestions

* fix requested changes

* Revert "fix requested changes"

This reverts commit e52d3e6531668f99c415939c195bb4bbdd349bae.

* reverting bad commit

* adding variable for notFoundMesage

* fixing package names. fix test names
2024-03-06 18:06:56 +01:00
Liam Williams 2a48b85f4d
Merge pull request #16004 from sk1418/juggler-sequence
[juggler-sequence] juggler seq
2024-03-04 20:25:51 +00:00
rcalago fa6178e441
Update README.md 2024-03-01 14:25:08 +08:00
Kai.Yuan 812b2ec89d [juggler-sequence] juggler seq 2024-02-29 11:39:55 +08:00
lucaCambi77 c5a3c01108
Check if two strings are rotations of each other [BAEL-7493] (#15864)
* feat: string rotation

* fix: test names
2024-02-20 21:43:07 -06:00
rcalago 41676a80e6
Update README.md 2024-02-17 06:29:01 +08:00
vunamtien cf5842a3ab
BAEL-7358-find-prime-under-given (#15888) 2024-02-15 15:54:14 +01:00
Loredana Crusoveanu 5f54221338
Merge pull request #15843 from rcalago/master
Update on README.md
2024-02-10 14:30:49 +02:00
Wynn Teo 35ef9393c1
Bael 7510 (#15776)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article

* First draft

* Change module

* Update the method return type to Integer and return null if not found

* Remove public as using junit 5

---------

Co-authored-by: Wynn Teo <wynnteo@Wynns-MacBook-Pro.local>
2024-02-09 20:26:25 -06:00
rcalago 92fd99dff5
Update README.md 2024-02-09 21:14:38 +08:00
panos-kakos 66db54d9bd
[JAVA-30445] Clean up (#15731) 2024-01-30 22:56:21 +01:00
Graham Cox c72cb4238c
Calculate Weighted Mean in Java (#15644)
Co-authored-by: Grzegorz Piwowarek <gpiwowarek@gmail.com>
2024-01-26 19:41:08 +01:00
rcalago 7b2ecb977a
Update README.md 2024-01-19 09:54:05 +08:00
Loredana Crusoveanu d5fd32b955 add missing files 2024-01-16 15:47:17 +02:00
Tapan Avasthi 7f9d025510 BAEL-7328: Find All Missing Numbers From a Given Array in Java (#15443)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2024-01-03 20:32:15 -06:00
panos-kakos e6cb1a2e43 [JAVA-26714] Upgraded commons-codec to latest version 2023-11-12 17:34:55 +02:00
edizor 9ba05068aa Create README.md
[skip ci]
2023-11-05 13:45:06 +08:00
Graham Cox 0422349dab BAEL-7088: Code for Connect 4 Article (#15099)
* BAEL-7088: Code for Connect 4 Article

* Renamed test
2023-10-31 19:07:06 +01:00
edizor d30947099d Update README.md
[skip ci]
2023-10-20 21:15:42 +08:00
lucaCambi77 d5b2f61ea0 BAEL-6913 - Rotate array in java (#14861)
* feat: rotate array in java

* fix: When to when
2023-10-10 20:35:10 -05:00
anuragkumawat 63033cd8cf Java 19717 Potential issue in "Maximum Subarray Problem in Java" article (#14541) 2023-08-25 13:09:06 +03:00
edizor f129617a75 Update README.md
[skip ci]
2023-08-24 21:57:09 +08:00
Harry9656 12a678018f BAEL-6868: Implement Distance Calculation formulas. (#14576) 2023-08-22 09:09:38 +05:30
collaboratewithakash 4aca0658d8 backlink removed 2023-07-17 14:27:25 +05:30
collaboratewithakash 494d78beb0 backlink updated 2023-05-31 15:58:49 +05:30
collaboratewithakash c85eebd056 backlink updated 2023-05-31 15:43:45 +05:30
collaboratewithakash 9f103646cc backlink updated 2023-05-30 17:39:38 +05:30
collaboratewithakash c6bd8b173a backlink updated 2023-05-30 17:34:53 +05:30
Kasra Madadipouya 605d45ab11 Merge pull request #13810 from press0/master
pr: add return types for assertion; test WrongVoucher vs GoodVoucher
2023-05-25 20:04:24 +02:00
edizor 2a750529ff Update README.md
[skip ci]
2023-05-05 23:51:11 +08:00
press0 bd04051b9e Merge branch 'eugenp:master' into master 2023-05-02 21:40:51 -05:00
Arya 01c02e151e Getting Pixel Array From Image in Java (#13911)
* Added the code for "Getting Pixel Array From Image in Java".

* The code and resources for "Getting Pixel Array From Image in Java".

* Removed the previous files from the wrong module.
2023-04-26 16:52:53 -07:00
press0@gmail.com aeb0bd3bd7 PR 2023-04-10 10:37:33 -05:00
edizor ddd9bc075c Update README.md
[skip ci]
2023-03-24 16:48:18 +08:00
vunamtien f3e685a231 BAEL-6168-find-most-frequent-elements-java-array (#13633)
* BAEL-6168-find-most-frequent-elements-java-array

* update method use stream

---------

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2023-03-21 21:44:57 +01:00
vunamtien 69ef18b53a BAEL-6168-find-most-frequent-elements-java-array (#13620)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2023-03-11 17:58:46 +01:00
Narendra Kangralkar d62fd23eb9 CS-1565: Check if the target sum exists (#13371) 2023-03-04 22:10:35 +01:00
panos-kakos 82757b243a [JAVA-18123] Upgraded algorithms-modules to java 11 + Upgraded unit t… (#13437)
* [JAVA-18123] Upgraded algorithms-modules to java 11 + Upgraded unit tests to junit5

* [JAVA-18123] Clean up properties

---------

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2023-02-07 20:12:21 +05:30
edizor 759a40f3ed Update README.md
[skip ci]
2022-11-02 21:03:03 +08:00
chrisjaimes bed927bb6c Bael 5723 gravity sort and unit test (#12891)
* add Gravity Sort java class

* gravity sort in java with unit test

* Update GravitySort.java

fix name in setupAbacus method

* Update GravitySortUnitTest.java

fix name in unit test method

Co-authored-by: Christian Jaimes <christian.jaimes@oracle>
2022-10-28 09:49:41 +05:30
collaboratewithakash dab76d99f2 Update README.md 2022-09-23 14:24:43 +05:30
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
anuragkumawat 46511387b0 JAVA-13865 POM Properties Cleanup - Week 28 - 2022 (#12645)
* JAVA-13865 POM Properties Cleanup - Week 28 - 2022

* JAVA-13865 Remove unnecessary white spaces
2022-08-28 18:41:49 +05:30
Asjad J 4acb523a5d Updated README.md
added link back to the article: https://www.baeldung.com/java-validate-cc-number
2022-08-25 21:40:17 +05:00
Asjad J 9721105cf2 Updated the README.md
added link back to the article: https://www.baeldung.com/java-string-permutations
2022-08-25 16:32:08 +05:00
Shaun Phillips 94ecd00052 CS-868 Add Luhn Algorithm (#12594)
* CS-868 Add Luhn Algorithm
2022-08-21 08:32:00 -06:00
Eugene Kovko 2d5e7da1fa BAEL-5646: String permutation improvements (#12613) 2022-08-17 22:14:47 +02:00
Eugene Kovko e983f3572b BAEL-5646: String permutation examples (#12595) 2022-08-14 20:35:52 +02:00
Ulisses Lima e12f0d064f JAVA-13615
GitHub Issue: The code for A* is in the src/test/java directory, not the
src/main/java directory
2022-07-25 12:27:02 -03:00