← All problems
Easy · Math & Geometry

Greatest Common Divisor of Strings

Find the longest string whose repetitions form both inputs.

Full problem and submission ↗
main.js

Console

Ready