answersLogoWhite

0


Best Answer

A graph is a set of vertices which are connected to each other via a set of edges.

A tree is a special type of hierarchical graph in which each node may have exactly one "parent" node and any number of "child" nodes, where a parent node is one level closer to the root and a child node is one level further away from the root.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

Tree is a special graph (directed, connected, loop-less), which makes searching in a tree much easier.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between tree search and graph search?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is Difference between tree and spanning tree?

A tree is a connected graph in which only 1 path exist between any two vertices of the graph i.e. if the graph has no cycles. A spanning tree of a connected graph G is a tree which includes all the vertices of the graph G.There can be more than one spanning tree for a connected graph G.


What is spanning tree in data structure?

A spanning tree is a tree associated with a network. All the nodes of the graph appear on the tree once. A minimum spanning tree is a spanning tree organized so that the total edge weight between nodes is minimized.


How many nodes are in a family branch tree in graph theory?

In Mathematics and Computer Science, the graph theory is just the theory of graphs basically overall. It's basically the relationship between objects. The nodes are just lines that connects the graph. There are a total of six nodes in a family branch tree for a graph theory basically.


Difference between binary search tree and heap tree?

A binary search tree uses the definition: that for every node,the node to the left of it has a less value(key) and the node to the right of it has a greater value(key).Where as the heap,being an implementation of a binary tree uses the following definition:If A and B are nodes, where B is the child node of A,then the value(key) of A must be larger than or equal to the value(key) of B.That is,key(A) ≥ key(B).


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.

Related questions

What is Difference between tree and spanning tree?

A tree is a connected graph in which only 1 path exist between any two vertices of the graph i.e. if the graph has no cycles. A spanning tree of a connected graph G is a tree which includes all the vertices of the graph G.There can be more than one spanning tree for a connected graph G.


Differentiate graph with tree. Describe any one method of graph traversal?

Graph contains nodes and edges without following any rule.Whereas tree is a type of graph which must follow some rules.2 popular methods are BFS(breath first search),DFS(depth first search).If you could get any help from the answer then plz increase my trust point.


Difference between B-tree and Binomial search tree?

A B-tree is a kind of tree data structure which is a generalization of a binary search tree where each node can have more than two children and contain more than 1 value. A Binominal search tree I am not sure of. If you mean Binary search tree, then it is an abstract data structure. Binominal is a term usually used with distributions while Binary is usually used with data. Hope this helps.


What is difference between tree and hybrid topology?

no difference,,,tree and hybrid are same.


Is every tree a graph or every graph a tree?

true


Difference between hillclimbing and best first search?

Hillclimbing proceeds as per values of each nodes.Whereas BFS follows edges of the tree.


Is every tree a bipartite graph?

No, not every tree is a bipartite graph. A tree is a bipartite graph if and only if it is a path graph with an even number of nodes.


What is spanning tree in data structure?

A spanning tree is a tree associated with a network. All the nodes of the graph appear on the tree once. A minimum spanning tree is a spanning tree organized so that the total edge weight between nodes is minimized.


What is the difference between tree and forest?

A tree is one tree and a forest is many trees.


Difference between syntax tree and parse tree?

i dont know but i


Is tree a connected acyclic graph?

Every tree is a connected directed acylic graph.


What is difference between binary tree?

fish!