What is the key difference between a tree and a graph?
- Graph can have cycles
- Graph can't have loops
- Tree has a hierarchical structure
- Tree is always acyclic
The key difference between a tree and a graph lies in their structure. While a tree has a hierarchical structure without cycles, a graph can have cycles and represents a more general structure for relationships between nodes.
Loading...
Related Quiz
- In wireless communication, the ___________ is a measure of the strength of the received signal compared to the noise level.
- What is the role of HATEOAS in RESTful APIs?
- Your company's e-commerce website recently suffered a data breach due to a security flaw in the payment processing system. How would you conduct a post-mortem analysis of the incident and implement measures to prevent future breaches?
- What does HTTP stand for in the context of network protocols?
- ___________ testing is performed without knowledge of the internal workings of the software.