When “yes” or “no” is repeated, there are two options: periods or commas. If we want to get technical, if the words are repeated quickly with no pauses, use commas; if the words are said distinctly with pauses in between, use periods. I think this is an OWCATS situation. If you like, choose one option and use it all the time.
…No, no, no. There were many other solutions that we could have tried. (said quickly without pauses)
…No. No. No. There were many other…. (said more deliberately with pauses between)