TheAlgorithms/Java

[OTHER] Simplify MinimizingLateness.java.

inishantjain opened this issue · 3 comments

What would you like to share?

Under the minimizing lateness package / category https://github.com/TheAlgorithms/Java/tree/master/src/main/java/com/thealgorithms/minimizinglateness

The current code MinimizingLateness.java utilizes the FileReader to read from a file named "lateness_data.txt". However, since this code serves as a demonstration, we can enhance clarity by directly inserting the data into the Java file. Additionally, running the code on the website's code playground is restricted, making inline data a more practical choice.

I've opened a pull request #4999 with the modifications.

Additional information

No response

Is it still open?
Shall I work on it?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution!

Please reopen this issue once you have made the required changes. If you need help, feel free to ask in our Discord server or ping one of the maintainers here. Thank you for your contribution!