DFS

A DFS solution.

It is slow and inefficient in memory using

Memory Usage: 14 MB, less than 5.56% of Python3 online submissions for Restore IP Addresses.

Can we do better?

I didn’t find any :(

Data Scientist/MLE/SWE @takemobi