15 Commits

Author SHA1 Message Date
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
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
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
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
vunamtien
cf5842a3ab
BAEL-7358-find-prime-under-given (#15888) 2024-02-15 15:54:14 +01:00
Loredana Crusoveanu
d5fd32b955 add missing files 2024-01-16 15:47:17 +02: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
Harry9656
12a678018f BAEL-6868: Implement Distance Calculation formulas. (#14576) 2023-08-22 09:09:38 +05:30
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
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
Shaun Phillips
94ecd00052 CS-868 Add Luhn Algorithm (#12594)
* CS-868 Add Luhn Algorithm
2022-08-21 08:32:00 -06:00