Commit Graph

5 Commits

Author SHA1 Message Date
Abhinav Pandey
152e29034d Improved code readability and code quality (#4663)
* Fixed Small typos :-)

* Update BufferedReader.java

* Made the following changes :

* Improved readability of files and removed gramatical errors.

* Implemented data assigning instead of manually calling arr.ylength in several instances like FindMax, FindMaxRecursion etc.

* Removed unwanted params from several files

* Implemented Math methods in files math/FindMinRecursion.java and FindMaxRecursion.java

* Update src/main/java/com/thealgorithms/maths/FindMinRecursion.java

---------

Co-authored-by: Debasish Biswas <debasishbsws.dev@gmail.com>
2023-10-11 17:29:55 +05:30
Piotr Idzik
d6024f9cd4 Make FindMin a proper utilty class (#4397) 2023-09-24 10:25:28 +00:00
Lukas
c1476d796c Make FindMin more efficient (#4389) 2023-09-24 06:26:05 +00:00
Piotr Idzik
4f15149804 style: handle empty input array in FindMin.findMin (#4205)
* tests: add test case with mininum not being at the beginning

* style: throw IllegalArgumentException when input is empty

* style: use enhanced for loop

* docs: update doc-str
2023-05-28 16:38:44 +05:30
Aitor Fidalgo Sánchez
9fb3364ccc Change project structure to a Maven Java project + Refactor (#2816) 2021-11-12 08:59:36 +02:00