上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页
摘要: Convert Sorted Array to Binary Search TreeTotal Accepted:61516Total Submissions:173462Difficulty:MediumGiven an array where elements are sorted in asc... 阅读全文
posted @ 2015-12-18 10:08 zengzy 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Binary Tree Zigzag Level Order TraversalTotal Accepted:49079Total Submissions:179977Difficulty:MediumGiven a binary tree, return thezigzag level order... 阅读全文
posted @ 2015-12-18 09:57 zengzy 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Unique Binary Search TreesTotal Accepted:69271Total Submissions:191174Difficulty:MediumGivenn, how many structurally uniqueBST's(binary search trees) ... 阅读全文
posted @ 2015-12-17 22:10 zengzy 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Validate Binary Search TreeTotal Accepted:73179Total Submissions:359616Difficulty:MediumGiven a binary tree, determine if it is a valid binary search ... 阅读全文
posted @ 2015-12-17 21:10 zengzy 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Populating Next Right Pointers in Each NodeTotal Accepted:72323Total Submissions:199207Difficulty:MediumGiven a binary tree struct TreeLinkNode { ... 阅读全文
posted @ 2015-12-17 18:36 zengzy 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Binary Tree Right Side ViewTotal Accepted:28755Total Submissions:92186Difficulty:MediumGiven a binary tree, imagine yourself standing on therightside ... 阅读全文
posted @ 2015-12-17 18:14 zengzy 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Sum Root to Leaf NumbersTotal Accepted:63531Total Submissions:202910Difficulty:MediumGiven a binary tree containing digits from0-9only, each root-to-l... 阅读全文
posted @ 2015-12-17 17:11 zengzy 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Binary Search Tree IteratorTotal Accepted:34935Total Submissions:109369Difficulty:MediumImplement an iterator over a binary search tree (BST). Your it... 阅读全文
posted @ 2015-12-17 17:03 zengzy 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Binary Tree PathsTotal Accepted:26174Total Submissions:104545Difficulty:EasyGiven a binary tree, return all root-to-leaf paths.For example, given the ... 阅读全文
posted @ 2015-12-17 15:32 zengzy 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1、Lowest Common Ancestor of a Binary Search Tree Total Accepted: 42225 Total Submissions: 111243 Difficulty: Easy Given a binary search tree (BST), fi 阅读全文
posted @ 2015-12-17 15:11 zengzy 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页
levels of contents