in Others edited by
337 views
0 votes
0 votes

Application of data structure is queue is:

  1. Level wise printing of tree.
  2. Implementation of priority queues.
  3. Function call implementation
  4. Depth first search in a graph.
in Others edited by
337 views

1 Answer

0 votes
0 votes
A. Level wise printing of tree. which is use in BFS and BFS use queue data structure  for level ordering or Level wise printing so it is correct option

B. Implementation of priority queues. does not make sense here

C. Function call implementation here stack data structure use

D. Depth first search in a graph. stack data structure use

Related questions