3 ms·
A recursive version of depth first search that I coded in python while practicing for interviews with leetcode. Recusion and DFS is so elegant.
by orsenthil 4y ago
A recursive version of depth first search that I coded in python while practicing for interviews with leetcode. Recusion and DFS is so elegant.