You indicated the real problem is you posted something that in hindsight you shouldn't have shared, because your classmates ran with your solution to a homework problem. That's unfortunate.
Normally, we don't like removing answered questions. However, exceptions can be made whenever legal problems come up. A wise member of our community got asked about the following situation during a moderator election:
- A question is flagged: Please delete this question - my boss has seen it and says it contains confidential code - he's freaking out and wants me to remove it, but I can't delete it. The question was asked 3 days before, it has 2 answers, one is accepted. How do you respond?
Heh, that's my question. The answer is to refer the flagger to the DMCA takedown process for Stack Exchange. It is unfair for existing answers to be penalized by deletion. The DMCA takedown process takes the judgement responsibility out of the hands of the Code Review mod and puts it in the Stack Exchange staff's process. This is a legal issue, and should be dealt with by the people responsible for those activities. Note that a mod cannot fully delete a question (deleted posts can still be viewed by folk with high rep), so the SE staff are the only people who can fully purge the post.
That's the policy. The long story is written down here and boils down to "moderators won't remove your question".
A possible solution is for your post(s) (both this meta post and the actual question on the main site if you want) to be disassociated from your account. The posts will be awarded to anonymous users and no longer be linked towards your account. We'll clean up the comments and that's mostly it.
So, unless there's a legal problem here, in which case you'd have to Contact the team that's above the moderators and which are actual employees of Stack Exchange/Overflow, the posts won't be removed.