Domanda di colloquio di Workday

tree traversal methods (depth first)

Risposta di colloquio

Anonimo

11 nov 2012

dfs basically use a LIFO Stack for the fringe. (see online or Artificial Intelligence: A Modern Approach) for pseduocode or actual implemention. You can easily find the code in Java/Python online I believe