What are the nodes in the graph in English?

I need to define an element from the associated List in an object:

    A
     \
X U

How can I name the whole object and its components in English?

ร  la: Hand-Body-Legan object with a name Body. or maybe something like queue kernel hand treeObject?

Ok, show you an example of a railway:

NodeStation => Station => Station => Station => NodeStation => Station => Station => NodeStation => ...

I need to have an object ( NodeStationAndNeighbourdStations) with the following three elements: NodeStation, LeftNeighbor, RightNeighbormore generally.

+3
source share
7

,

ListElement(Previous, Root, Following)
0
             Node                        Node
              |                            |
     ------ Parent ------              --- A ---  
     |                  |              |       | 
Left child         Right child         X       Y 

, Node.

+3

, , - a node, :

A - parent/head
X - left child/node
Y - right child/node
+1

X Y A? , . A, X Y , 3 , . , , , , , , 99% .


, , , A, X Y - , A - , X - , Y , , , node 2 . , . , , . A- > X- > Y, node node, , - . p >


, . - A, X Y, X Y A? , ? , X Y node, , node 3 , A, X, Y, ? , , .


, A NodeStation, X Y - . , ? ,

... => X <=> A <=> Y <=...

, , .

+1
source

I'm not sure what you mean (or even if this question should be included in stackoverflow), but could you just call it Tree, left node and right node?

0
source
parent -> child

?

0
source

This is the link . Like a link in a chain. Hence the linked list.

0
source

Source: https://habr.com/ru/post/1756615/


All Articles