Sollicitatievraag bij Google

DFS based question with performance improvement.

Antwoord op sollicitatievraag

Anoniem

29 okt 2021

I solved the question along with performance improvement. The reason for reject was missing boundary conditions.