I had answers on a question that got unaccepted, but I can't find the parent question url from statistics shown on my profile page (not listed). How can I find them so?
You can see your removed answer if it had upvotes when you enable show removed posts in the reputation tab on your profile:
A moderator can see all your deleted posts, and in your case there was just one on this question.
The complete text of that answer is:
global $wp_query; $cat_id = $wp_query->get_queried_object()->term_id;
Update: More clear answer
It was not an accepted answer (the asker didn't show up on our site since 2011), and it had no upvotes.
This is the same as the the answer from Jan Fabry, there is no explanation and no visible update. So I have deleted it and added an explanation for you in a comment.
Note that bare code fragments are rarely good answers. If you think your answer just looks like another answer but is really something different, you have to explain that, so other readers can understand it.