He gave us a few days to do it.
There is an old proverb that goes like this:
"Lack of planning on your part does not constitute an emergency on my part"
It would have served you better if you would have presented your problem on one of these Forums.
Java Programming Forums - The Java Community
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
https://forums.oracle.com/forums/mai...?categoryID=84
Java Programming Forum - The Front Page
That is not to say that the members here at sevenforums would not at least try to provide some answers, but sevenforums is orientated more towards solving problems that relate to hardware, and software.
This site has five pages of tutorials:
Java Tutorials Forum | Dream.In.Code
But, even there, their policy is:
Asking Questions
Dream.In.Code is primarily a place to ask questions.
You'll receive the best help if you provide as much information about your question or problem as possible. Include a good title, your code, any errors you're encountering, and what you've tried or searched for to solve your problem. We will not do your homework for you.
Source:
Dream.In.Code -> New To Dream.In.Code - FAQ
I apologize for being stern with you right before the Holidays, but you did not provide any of that information.
It is generally considered poor Forum etiquette no matter what Forum to present a question as homework.
All you can find is books which tries to explains in paragraphs of words, which doesn't help.
I already have enough e-books and hard copy books about Algorithms and Java.
It sounds like you would understand better if you had visual stimulation to help you. Have you considered searching for
Java Algorithms on YouTube? I did, and came up with 466 results.
I wish you luck, and the best for the upcoming Holidays, and New Year.