sounds a little like cognitive dissonance there, not wanting to work for a company that gave you a perfectly reasonable test of your algorithmic abilities.
it's not whether you immediately forget the question/solution, it's about reasoning your way to the solution. It doesn't matter if you forget after because you've proven that you can get there.