• +91 9723535972
  • info@interviewmaterial.com

Data structure Interview Questions and Answers

Question - Which data structures do you use in DFS and BFS algorithms?

Answer -

  • In the DFS algorithm, you use the Stack data structure.
  • In the BFS algorithm, you use the Queue data structure.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners