Our help page What topics can I ask about here? says:–
If your question is about
Programming, ask on Stack Overflow. If the language is statistically oriented (such as R, SAS, Stata, SPSS, etc.), then decide based on the nature of your question: if it needs statistical expertise to understand or answer, ask it here; if it's about an algorithm, routine data processing, or details of the language, then please refer to the collection of links to resources we maintain.
Can anyone tell the intent behind "if it's about an algorithm"? We don't regard questions about Fisher scoring or Hartigan–Wong as off-topic. I think we should clarify that clause (or else remove it altogether).