1class Solution:2 def simplifiedFractions(self, n: int) -> List[str]:34 collect = {}5 for b in range(2, n + 1):6 for a in range(1, b):7 if a / b not in collect:8 collect[a / b] = f"{a}/{b}"9 return list(collect.values())
WPM •0 •0
ACC •0 •0
TIME •0