247-Strobogrammatic-Number-Ii
Sat 17 May 2025
https://leetcode.com/problems/strobogrammatic-number-ii
import pyutil as pyu
pyu.get_local_pyinfo()
print(pyu.ps2("python-dotenv"))
from typing import List
class Solution:
def findStrobogrammatic(self, n: int) -> List[str]:
def helper(n: int, k: int) -> List[str]:
if n == 0:
return ['']
if n == 1:
return ['0', '1', '8']
ans = []
for inner …Category: leetcode
Read More