Difference between revisions of "TADM2E 5.31"

From Algorithm Wiki
Jump to: navigation, search
(Recovering wiki)
(No difference)

Revision as of 18:14, 11 September 2014

  • For BFS, queues are used.
  • For DFS, stacks are used. Normally in real implementation, we use recursion in place of an explicit stack.