I searched Google for and was shown this "snippet" at the top:
I quickly realized this was one of the lowest-scoring answers on that SO question.
The accepted answer has 14 upvotes and no downvotes. Why doesn't Google pick either the answer with the highest votes or the accepted answer?
The broader/ancillary question here is: is Google's algorithm for picking SO answers completely developed and controlled by Google, or does Stack Exchange provide an API and thus control the logic for picking the best answer for Google's snippets?