Define degree of the node?



Define degree of the node?..

Answer / Mohammad Zunaid

The degree of a node in a graph is the number of edges incident on it. For an undirected graph, the degree of a node is equal to the count of its neighbors. In a directed graph, there are two types of degrees: in-degree (number of incoming edges) and out-degree (number of outgoing edges).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is a data structure definition?

1 Answers  


How would you reverse characters of an array without using indexing in the array.

1 Answers  


What are common data structures?

1 Answers  


Why do we need algorithm?

1 Answers  


Define open addressing?

1 Answers  


What is data structure? Explain.

1 Answers  


What is linear and non linear structure?

1 Answers  


What is the impact of signed numbers on the memory?

1 Answers  


Is treeset thread safe?

1 Answers  


What is advantage and disadvantage of linked list?

1 Answers  


Define non linear data structure.

1 Answers  


How efficient is binary search?

1 Answers  


Categories