NereydaH744262 NereydaH744262
  • 31-10-2022
  • Mathematics
contestada

how can you tell if a graph is a tree by looking at the adjacency to matrix

Respuesta :

GwenithV496959 GwenithV496959
  • 31-10-2022

Let's assume that a tree has N nodes, this means that this tree has N-1 edges.

For an adjacency matrix representing a tree, such will have 2(N-1) 1's, since each edge sets two bits in the matrix (with no 1's on the diagonal, since trees have no self-edges).

Answer Link

Otras preguntas

Which sentence does not contain any errors in comma usage? A. If you ever visit New Haven, Connecticut, be sure to eat at Sally's Pizza. B. As of September 15
What is the rule for 5,10,20,40,80
The Management of soil to prevent its destruction is referred to as
What do carbohydrates, fats, and oils have in common?
what is another name for rooster
to Moliere, what does it mean to follow nature?
~PLEASE HELP~ ~~~~~~~~~~~~~~~~ Only answer if you know for sure please ~Please shwo work by the way~
how do you determine the streak of a mineral?
Which goal of foreign policy relates to protecting the safety of Americans?
i need to find the amount of force in newtons