check if NON NONE child is found add parent key to str and call the display function recursively for child node
if ( root . child [ i ] ) : NEW_LINE INDENT str [ level ] = chr ( i + ord ( ' a ' ) ) ; NEW_LINE displayContent ( root . child [ i ] , str , level + 1 ) ; NEW_LINE DEDENT