threeal / leetspace

A dedicated workspace and archive for my LeetCode submissions
https://leetcode.com/threeal
MIT License
1 stars 1 forks source link

Solve Problem 1071. Greatest Common Divisor of Strings #1349

Closed threeal closed 1 month ago

threeal commented 1 month ago

This pull request resolves #1348 by solving the problem 1071. Greatest Common Divisor of Strings in C++. It solves the problem by using the greedy approach to check for all possibilities.