摘要: Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and 阅读全文
posted @ 2016-11-04 23:04 wangxiaobao1114 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical a 阅读全文
posted @ 2016-11-04 23:01 wangxiaobao1114 阅读(155) 评论(0) 推荐(0) 编辑