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>
This commit is contained in:
Abhinav Pandey
2023-10-11 17:29:55 +05:30
committed by GitHub
parent 17fe4298b6
commit 152e29034d
13 changed files with 41 additions and 31 deletions

View File

@ -87,7 +87,7 @@ public class EulerMethod {
double xCurrent = xStart;
while (xCurrent < xEnd) {
// Euler method for next step
// Euler's method for next step
yCurrent = eulerStep(xCurrent, stepSize, yCurrent, differentialEquation);
xCurrent += stepSize;
double[] point = {xCurrent, yCurrent};