It's in numerous algorithms textbooks and probably a lot of code repositories, so that's not surprising.