answersLogoWhite

0

1. bfs uses queue implementation ie.FIFO

dfs uses stack implementation ie. LIFO

2. dfs is faster than bfs

3. dfs requires less memory than bfs

4. dfs are used to perform recursive procedures.

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
BeauBeau
You're doing better than you think!
Chat with Beau

Add your answer:

Earn +20 pts
Q: Difference between DFS and BFS
Write your answer...
Submit
Still have questions?
magnify glass
imp