Leetcode 1447. Simplified Fractions | Hello Interview