While @juergend nicely describes why answering with
Placeholder in case it gets locked. Working on the solution. is abusing the system, there is a non-abusive approach to answering a question you feel is valid.
Remember that closing a question is not the end of question since it can be re-opened. Once reopened you can then add your answer.
To reopen a question you can try the following
First edit or propose an edit to the question making sure that your edit makes it
- Not a duplicate
- On topic
- Would be interesting to someone outside of the OP
- Is answerable in our Q/A format.
Also improve it by
- Fixing up spelling and grammar problems.
- Improve the formatting
- Make sure you have the right tags.
- Remove anything that detracts from the question
I wanted to know the Java code... probably contributed to its negative response.
Once you've done that it will automatically go into the reopen queue. If you have the rep you can also vote to reopen. Be patient and check back periodically.
If that doesn't work you can still take it to the meta chat room Posse Comitatus and state your case there. Be patient and check back periodically.
If that doesn't work you can flag it as other and explain why you think it should be opened. Be patient and check back periodically.
Finally you can bring your case to meta and explain why you think it should be reopened.
As an aside, I think what this question was asking was fine when I compare it to recent questions tagged algorithm. I would look at those questions like those below and try and model my edits to make it similar.