1447. Simplified Fractions
https://leetcode.com/problems/simplified-fractions
Description
Given an integer n
, return a list of all simplified fractions between 0
and 1
(exclusive) such that the denominator is less-than-or-equal-to n
. The fractions can be in any order.
Example 1:
Example 2:
Example 3:
Example 4:
Constraints:
1 <= n <= 100
ac
Last updated