answersLogoWhite

0


Best Answer

Graphs and trees are often used as synonyms for lattices or networks of interlinked nodes. A graph is the more general term and essentially covers all types of lattices and networks including trees, while a tree is a more specific type of graph, not unlike a family tree extending downwards much like the roots of a tree. A binary tree is a typical example of a tree-like graph. Non-tree-like graphs are typically used to model road maps and thus help solve travelling salesman problems, such as finding the shortest or fastest route between a given set of nodes. Real-life computer networks can also be modelled using graphs. And unlike trees which are two-dimensional structures, graphs can be multi-dimensional.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the difference between graph and trees in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What graph graph indicates that there is a linear relationship between the dependent variable and the independent variable?

a graph of the independent variable and dependant that shows a graph with a fixed gradient (I.E a line graph) The equation of the graph will be given by y = mx +c where m is the gradient and c is a constant


What is the difference between C and advanced C?

The difference between C and the advanced C is that C is basic. On the other hand, the advanced C is thorough and to the detail.


Difference between C and C programming language?

The C and C programming languages are one and the same. There is no difference between those languages.


What a graph indicates that there is a linear relationship between the dependent variable and the independent variable?

a graph of the independent variable and dependant that shows a graph with a fixed gradient (I.E a line graph) The equation of the graph will be given by y = mx +c where m is the gradient and c is a constant


What is the difference between solipsism and solipcism?

There is no difference between "solipsism" and "solipcism"; they are likely just spelling errors of the same term, which refers to the philosophical idea that only one's mind is sure to exist or the view that the self is all that can be known to exist.


What is the difference between c c?

ketchup!


What is the difference between linear and quadratic equations?

A linear equation has the form of mx + b, while a quadratic equation's form is ax2+bx+c. Also, a linear equation's graph forms a line, while a quadratic equation's graph forms a parabola.


DIFFERENCE between GRAPH and TREE IN DATA STRUCTURES?

A tree is a specialized case of a graph. A tree is a connected graph with no circuits and no self loops. A graph consists of 3 sets - vertices, edges and a set representing relations between vertices and edges i.e. v = (a, b, c) e = (e1, e2, e3) and x = ((a,b,e1), (b,c,e2), (a,c,e3)) represents a graph where e1 joins a and b and so on. A circuit is alternating sequence of edges and vertices where in edges are not repeated, vertices may be and starting and ending vertices are the same e.g. a e1 b e2 c e3 a means a connected to b, b to c and c to a. This forms a loop. A self loop is a vertex looping on to itself. As a tree does not contain any loops and is still connected, it is also called a minimally connected graph i.e. there is just one path between any 2 vertices.


What are difference between grade a b and c material?

The main difference is in between grade A,B & C IS THE CARBON CONTAIN OF THE MATERIALS.


What is the difference between object and variable in c?

There is no objects in C.


What is the difference between 134 C and -170 C?

the answer is 304C


Is there any difference between you and you in c?

No, you and you mean the same thing in C