answersLogoWhite

0


Best Answer

Breadth first search can be performed upon any tree-like structure. A binary tree is a typical example. A breadth first search begins at the root and searches the root's children, then all its grandchildren, and so on, working through one level of the tree at a time.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which data structure is used for breadth first seach?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is fifo data structure?

FIFO, means "First In, First Out". An example of such a data structure is a queue.


Can stack be called fifo data structure?

No. A stack is a LIFO (Last In First Out) data structure.A queue is a FIFO (First In First Out) data structure.


How do you print all data in a Binary Search Tree?

By using Depth First Search or Breadth First search Tree traversal algorithm we can print data in Binary search tree.


What is first in first out data structure?

QUEUE is the first in first out (FIFO) data structure. It is a linear data structure in which insertion of an element is done from rear end of a list and deletion of an element is done from front end of a list. For example- people in queue waiting for bus.


What was the first historical data structure?

Array


What is stacks in data structure?

Stack is a data structure which is closed at one end. last in first outhi


Why stack is preferable data structure for bottom up parsing?

Stacks are not only the preferred data structure for bottom up parsing, they are the only data structure suitable for bottom up parsing. Bottom-up parsing is usually referred to as depth-first search. Top-down parsing is referred to as breadth-first search. The two are exactly the same in terms of implementation, the difference is only in the structure used to store information collated from the previous iterations. With top-down parsing you use a queue, pushing to the back and popping from the front. With bottom-up parsing you use a stack, pushing to and popping from the back.


What kinds of problems are Breadth-First good at solving and Best-First good at solving - If possible please give some sources about this?

Breadth First was great at solving problems that involved searching. This included programming problems, and data problems. This was often frowned upon in many cases, but was definitely easy for him.


What is pattern matching in data structures?

how to find complxity of first pattern matching in data structure


What are the subject-matters of data structure?

types of data structure types of data structure


How do you amend a data structure?

How do you amend a data structure?


What does seach mean?

A search engine is a program that will instantaneously scan the internet for websites and other data that match the keywords that you are searching. If there is an exact match for a website that you are searching, that will come up first in your search.