4 ms·
I once had an interviewer tell me you can't implement paint-fill with a DFS. I was about to argue but ended up just using a BFS. Got the job at least.
by akhilcacharya 9y ago
I once had an interviewer tell me you can't implement paint-fill with a DFS. I was about to argue but ended up just using a BFS.
Got the job at least.