Commit Graph

78 Commits

Author SHA1 Message Date
Kai.Yuan 2a8e5bb69d [fix-merging-overlapping] fix 2024-04-10 21:59:56 +02:00
timis1 e812b299bd
JAVA-32783 Split or move algorithms-miscellaneous-7 (#16317)
Co-authored-by: timis1 <noreplay@yahoo.com>
2024-04-10 00:03:56 +02:00
alexyang 7edeb43ed1
BAEL-7598 Check if a number is a perfect number (#16039)
* BAEL-7598 Check if a number is a perfect number

* add stream based method. refactor UT

* refactor UT using bdd style

* removes public modifier

* add jmh benchmark

* use properties and remove uncessary configuration

---------

Co-authored-by: alexyang <alexyang0623@gmail.com>
Co-authored-by: travel2china <163321917+travel2china@users.noreply.github.com>
2024-04-05 16:17:28 +02:00
timis1 cc90a0b8bb
JAVA-31057 Check if large files can be removed (#16278)
* JAVA-31057 Check if large files can be removed

* JAVA-31057 Remove un-needed files from spring boot telegram

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2024-04-04 23:24:46 +02:00
rcalago 7b3faa18ad
Update README.md 2024-04-04 00:04:46 +08:00
ACHRAF TAITAI 96c992cd87
BAEL-7703: Update article "Converting Between Byte Arrays and Hexadecimal Strings in Java" (#16271) 2024-03-30 12:38:38 +01:00
vunamtien 2df107ef2b
[BAEL-7557] SkipList-implementation-in-Java (#16253) 2024-03-29 11:22:25 +01:00
Sam Gardner 9c539cdd3d BAEL-7513 Move merge interval code to next module 2024-03-28 14:41:51 +00:00
Sam Gardner 4ab0022871 Merge branch 'master' into BAEL-7513-Merge-overlapping-intervals-in-collection 2024-03-28 14:36:31 +00:00
rcalago 68047700d8
Create README.md 2024-03-27 10:18:35 +08:00
Liam Williams 0902917c82
Merge pull request #16082 from sk1418/happy-number
[happy-number] happy number
2024-03-26 13:27:54 +00:00
rcalago 37ab5e240a
Update README.md 2024-03-21 23:32:09 +08:00
rcalago 0824bee7cd
Update README.md 2024-03-21 23:17:11 +08:00
Graham Cox 30a5cddce0
Updates for BAEL-7496 (#16150)
* Moved vigenere cipher code to a new module

* New test case for encoding and decoding together
2024-03-21 06:34:48 +01:00
panos-kakos a39f20151d
[JAVA-30626] Clean up guava dependencies (#16098)
* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies
2024-03-14 00:44:56 +01:00
rcalago 6aec85f2aa
Update README.md 2024-03-13 14:57:39 +08:00
Kai.Yuan 11ee2130cc [happy-number] renaming method 2024-03-10 18:05:49 +01:00
Neetika23 eb3460d9ac
Code to find largest number after removing K digits from a number (#16060)
Co-authored-by: Neetika Khandelwal <kwal.neetika2398@gmail.com>
2024-03-09 20:03:59 +01:00
Loredana Crusoveanu 6c1451dca5
Merge pull request #16081 from rcalago/master
Update on README.md
2024-03-09 18:03:31 +02:00
Graham Cox e1a2eed0d9
BAEL-7496: Vigenère Cipher in Java (#16072) 2024-03-09 11:18:55 +01:00
Kai.Yuan c3b389f4dc [happy-number] happy number 2024-03-09 00:09:04 +01:00
rcalago 0d9968b07d
Update README.md 2024-03-09 06:23:41 +08:00
rcalago 1f43ea9cad
Update README.md 2024-03-09 06:18:23 +08:00
rcalago 39dc41f405
Update README.md 2024-03-09 06:11:16 +08:00
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
Sam Gardner 433a32489c BAEL-7513 Add missing newline to Interval.java 2024-02-22 15:13:15 +00:00
Sam Gardner d7527a382e BAEL-7513 Merge overlapping intervals in collection 2024-02-22 15:11:26 +00: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