![]() |
|
#1
|
|||
|
|||
BFS vs DFSGotta question: DFS is normally done with a stack as a data structure, BFS with a queue. if you were to perform a DFS algorithm using a queue as the underlying data sturcture would the result be the same as a BFS
|
|||
|
#2
|
|||
|
|||
Re: BFS vs DFSQuote:
I will respond to your question with two questions of my own: What If someone says yes? How will you use that little tidbit of opinion? What if someone says no? How will you use that little tidbit of opinion? I have a suggestion: Since this is a programming assistance forum, write a program specification.
Then ask any kind of question about implementation details or anything else. Be specific. Regards, Dave |
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The