I recently asked this question. I got two really great answers - one person gave me the relevant code, but the other person gave me an explanation of why my solution actually wouldn't work, and how to get around it. Though the top-rated answer didn't have any code, which would've required a bit of researching and tinkering on my part, it certainly explained things better.
I guess the reason I'm asking is because Person A and Person B both helped me to an equal degree. If I'd only gotten Person B's answer, I would've had to go searching to figure out why I legitimately couldn't do what I wanted to do. If I'd only gotten Person A's answer, I would've had to go searching to figure out how to implement his solution.
So who should I give the check-mark to?