Commit Graph

88 Commits

Author SHA1 Message Date
Ulisses Lima fe759e41e4
Merge pull request #16501 from eugenp/fix-java-stream-integers-median-using-heap
Change int to double
2024-04-26 15:24:27 -03:00
Ana Peterlic 4f8c2316bb Change int to double 2024-04-26 16:40:39 +02:00
Jagath Kumar 06c69e42ee calculating Moving averages - package updated 2024-04-17 18:28:28 +05:30
Jagath Kumar f2c6d26c82 calculating Moving averages - package updated 2024-04-17 18:22:21 +05:30
Jagath Kumar ac32eebb53 calculating Moving averages - review fixes 2024-04-17 18:21:30 +05:30
rcalago fa03676a04
Update README.md 2024-04-17 15:58:55 +08:00
rcalago 5b3c2dbd89
Update README.md 2024-04-17 15:43:20 +08:00
rcalago a34ff1586d
Update README.md 2024-04-17 15:10:50 +08:00
Vini 560a71d47c
Merge pull request #16274 from thibaultfaure/articles/BAEL-7657-Date-of-Easter-Sunday
BAEL-7657 Code for the Find the date of Easter Sunday for the given y…
2024-04-16 15:34:56 +02:00
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
Thibault Faure 4a1cfa7477 BAEL-7657 Code for the Find the date of Easter Sunday for the given year article 2024-03-30 21:07:46 +01: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