3 ms·
The paint fill one is funny because the answer they’re probably looking for (demonstrate you’re comfortable with recursion) is actually the naive answer (blows
by relaxing 2y ago
The paint fill one is funny because the answer they’re probably looking for (demonstrate you’re comfortable with recursion) is actually the naive answer (blows up in practice.)