class Solution: def restoreIpAddresses(self , s: str) -> List[str]: n = len(s) ans = [] if not s: return ans def diedai(t,i,k): if i >= n: ans.append(t) if k == 3: if int(s[i]) > 0 and int(s[i:]) <256: diedai(t+s[i:],n,k+1) elif int(s[i]) == 0 and i == n-1: diedai(t+s[i:],n,k+1) if k <...