P
P
part_os2021-03-20 20:08:00
Data Structures
part_os, 2021-03-20 20:08:00

What is a tree whose element has more than two parents?

Hello, tell me what type of tree in which
a node can have more than two parents. A parent can also have more than two children.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2021-03-20
@part_os

There are no such trees. They are called "tree" because they look like trees - one trunk is divided into branches that branch further, but do not grow back. Trees always have exactly one parent.
If we consider an arbitrary graph with a bunch of parents and children, then most likely you mean an acyclic directed graph.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question