lucyparsons2574 lucyparsons2574
  • 18-08-2020
  • Computers and Technology
contestada

What is the advantage of utilizing trees as a data structure? Describe a scenario where you may use either a linear data structure or a tree and show which would be more effective and why?

Respuesta :

kaancceylan
kaancceylan kaancceylan
  • 19-08-2020

Answer:

The tree data structure provides more flexibility and practicality.

Explanation:

The tree data structure is more advantageous because of it's practicality in terms of forming relationships within the data.

A tree data structure would be preferable for an e-commerce website or database because it provides the ability to be able to links different products and group them under sub categories etc. Basically it makes a more reliable database in this situation.

I hope this answer helps.

Answer Link

Otras preguntas

Multiply. ​ 3/10 × (−4/5) ​ Enter your answer as a fraction, in simplified form, in the box.
Which of the following most closely reflects the principle of least privilege. never grant a function access to the data in its parameters. always grant a funct
What is one of the drawbacks of an Internet-based survey? A. The participants have no confidentiality. B. It doesn't reach a wide number of people. C.
If a person can encourage people to follow an idea, what role can this person play on a team at work?
What hot springs in the ocean floor
For each type of wave compare the vibration of the medium to the direction of the wave
3 facts for against vietnam war
can someone help me figure out how to graph f(x)=5x-45
What is the measure of angle def the tangent chord angle
Why did conservatives criticize the government's unfunded mandates?