Binary application problems finishing (a)

topic

The following forest into a corresponding binary tree, and threaded respectively following instructions:

(1) first order precursor threaded;

(2) the whole sequence and subsequent clue clue clue of precursors;

(3) subsequent successor threaded.

thought

The first question of the precursor of FIG related cues
while drawing whole binary clues, the dotted line is a pointer to the node precursor, the solid line to the successor.

Here Insert Picture Description

answer

Here Insert Picture Description

Published 73 original articles · won praise 20 · views 4468

Guess you like

Origin blog.csdn.net/lzl980111/article/details/103091665