上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: 118. Pascal's Triangle Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the 阅读全文
posted @ 2019-05-07 21:59 mingL 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 117. Populating Next Right Pointers in Each Node II Given a binary tree Populate each next pointer to point to its next right node. If there is no nex 阅读全文
posted @ 2019-04-27 09:55 mingL 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 116. Populating Next Right Pointers in Each Node You are given a perfect binary tree where all leaves are on the same level, and every parent has two 阅读全文
posted @ 2019-04-27 09:33 mingL 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 115. Distinct Subsequences Given a string S and a string T, count the number of distinct subsequences of S which equals T. A subsequence of a string i 阅读全文
posted @ 2019-04-24 23:14 mingL 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 114. Flatten Binary Tree to Linked List Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: The flattene 阅读全文
posted @ 2019-04-21 22:06 mingL 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 113. Path Sum II Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. Note: A leaf is a node with no 阅读全文
posted @ 2019-04-21 22:02 mingL 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 112. Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals th 阅读全文
posted @ 2019-04-21 22:00 mingL 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 源码:编辑表单组件 组件源码(待优化)editForm.vue: <!-- 搜索表单 --> <template> <el-form ref='editForm' :size="size" inline :label-width="labelWidth" :model="editData" :rul 阅读全文
posted @ 2019-04-19 22:21 mingL 阅读(8833) 评论(5) 推荐(0) 编辑
摘要: 源码链接:弹窗组件 组件源码: <template> <transition name="el-fade-in"> <div v-if="modalCfg.visible" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z 阅读全文
posted @ 2019-04-19 22:16 mingL 阅读(4790) 评论(0) 推荐(0) 编辑
摘要: 111. Minimum Depth of Binary Tree Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from t 阅读全文
posted @ 2019-04-18 22:06 mingL 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 110. Balanced Binary Tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a bi 阅读全文
posted @ 2019-04-18 22:03 mingL 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 109. Convert Sorted List to Binary Search Tree Given a singly linked list where elements are sorted in ascending order, convert it to a height balance 阅读全文
posted @ 2019-04-15 21:16 mingL 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 108. Convert Sorted Array to Binary Search Tree Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For 阅读全文
posted @ 2019-04-15 21:10 mingL 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 107. Binary Tree Level Order Traversal II Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to righ 阅读全文
posted @ 2019-04-15 21:06 mingL 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 106. Construct Binary Tree from Inorder and Postorder Traversal Given inorder and postorder traversal of a tree, construct the binary tree. Note:You m 阅读全文
posted @ 2019-04-15 21:04 mingL 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 105. Construct Binary Tree from Preorder and Inorder Traversal Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may 阅读全文
posted @ 2019-04-15 21:00 mingL 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 104. Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from th 阅读全文
posted @ 2019-04-15 20:57 mingL 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 103. Binary Tree Zigzag Level Order Traversal Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to rig 阅读全文
posted @ 2019-04-15 20:54 mingL 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 102. Binary Tree Level Order Traversal Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by l 阅读全文
posted @ 2019-04-15 20:47 mingL 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 101. Symmetric Tree Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2, 阅读全文
posted @ 2019-04-15 20:39 mingL 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页