上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 题目:Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume t... 阅读全文
posted @ 2015-11-29 08:55 JSRGFJZ6 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array of integers, every element appears three times except for one. Find that single ... 阅读全文
posted @ 2015-11-28 23:47 JSRGFJZ6 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array of integers, every element appears twice except for one. Find that single one.No... 阅读全文
posted @ 2015-11-28 23:45 JSRGFJZ6 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from... 阅读全文
posted @ 2015-11-27 09:21 JSRGFJZ6 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to r... 阅读全文
posted @ 2015-11-27 09:18 JSRGFJZ6 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from le... 阅读全文
posted @ 2015-11-27 08:59 JSRGFJZ6 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目:Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without chan... 阅读全文
posted @ 2015-11-27 08:46 JSRGFJZ6 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 题目:Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Re... 阅读全文
posted @ 2015-11-25 22:35 JSRGFJZ6 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is define... 阅读全文
posted @ 2015-11-25 22:32 JSRGFJZ6 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced bin... 阅读全文
posted @ 2015-11-23 20:07 JSRGFJZ6 阅读(89) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页