January 2018
Intermediate to advanced
332 pages
7h 36m
English
Let's formulate our algorithm in pseudo code before implementing the recursive serializer:
INITIALIZE responseFOR each node extract child nodes add current node info to serialized string IF childNodes exist repeat process for child nodes ELSE add ^ to indicate end of the level IF rootnode return serialized stringELSE add ^ to indicate child node of root
Read now
Unlock full access