"if they find a stackoverflow post that matches the question."
To be fair, "figure out if someone else has solved this already on stackoverflow" isn't the worst approach to solving (some) problems.
I just did a coding test where the exercise was trivial, and indeed there are lots of good answers on stackoverflow. I am guessing the reason I have another interview coming, though, is that I made it easy to read, explained my logic in comments, and wrote thorough unit tests checking edge cases.
Re:Why I won't do coding tests
by garysieling on Monday April 04, 2016 @12:38PM
(#11423229)
Agreed. I've seen people document forum posts they sourced as well, which I appreciate.
There is also at least one "learn to code" bootcamp with a database of tests on github.