embedUR systems interview question

What data structure do you use for DFS and BFS?

Interview Answers

Anonymous

Aug 2, 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

Aug 5, 2022

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