校验
文章平均质量分 82
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 36. Valid Sudoku(数独游戏)
原题网址:https://leetcode.com/problems/valid-sudoku/ Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are fil原创 2016-05-20 10:38:02 · 683 阅读 · 0 评论 -
LeetCode 37. Sudoku Solver(数读游戏)
原题网址:https://leetcode.com/problems/sudoku-solver/ Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that th原创 2016-05-20 10:40:25 · 409 阅读 · 0 评论 -
LeetCode 100. Same Tree(相同的树)
原题网址:https://leetcode.com/problems/same-tree/ 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 identic原创 2016-05-23 00:49:13 · 392 阅读 · 0 评论 -
LeetCode 101. Symmetric Tree(对称的树)
原题网址:https://leetcode.com/problems/symmetric-tree/ Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric:原创 2016-05-23 03:22:34 · 660 阅读 · 0 评论 -
LeetCode 99. Recover Binary Search Tree(修复二叉搜索树)
原题网址:https://leetcode.com/problems/recover-binary-search-tree/ Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A sol原创 2016-05-23 00:39:29 · 587 阅读 · 0 评论 -
LeetCode 331. Verify Preorder Serialization of a Binary Tree(校验二叉树的前序遍历序列化)
原题网址:https://leetcode.com/problems/verify-preorder-serialization-of-a-binary-tree/ One way to serialize a binary tree is to use pre-order traversal. When we encounter a non-null node, we record t原创 2016-04-28 07:36:08 · 923 阅读 · 0 评论