embedUR systems interview question

What data structure do you use for DFS and BFS?

Interview Answers

Anonymous

2 Aug 2022

Since BFS traverses through each node's level first then goes to the other leve DFS processes by stack since it is depth based it first traverse on each depth.

1

Anonymous

5 Aug 2022

Bro I have a doubt, they hire only system engineer or any other role. Please reply bro🙏