結果 : tree traversal in data structure without recursion