gcd-strings-commutativity-check

Status: IN

`str1 + str2 == str2 + str1` is both necessary and sufficient for the existence of a common divisor string — this is the key mathematical insight (related to the Fine and Wilf theorem)

Source: entries/2026/06/06/greatest-common-divisor-of-strings-solution.md

JSON