- 博客(12)
- 资源 (11)
- 收藏
- 关注
原创 LeetCode | 107. Binary Tree Level Order Traversal II
题目:Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For example:Given binary tree[3,9,20,null,n...
2019-12-31 18:07:39 156
原创 LeetCode | 106. Construct Binary Tree from Inorder and Postorder Traversal
题目:Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.For example, giveninorder =[9,3,15,20,7]postor...
2019-12-31 18:02:48 160
原创 LeetCode | 105. Construct Binary Tree from Preorder and Inorder Traversal
题目:Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.For example, givenpreorder =[3,9,20,15,7]inorde...
2019-12-31 17:59:15 107
原创 LeetCode | 103. Binary Tree Zigzag Level Order Traversal
题目:Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between).For example:Given bi...
2019-12-31 17:57:15 112
原创 LeetCode | 102. Binary Tree Level Order Traversal
题目:Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree[3,9,20,null,null,15,7], 3 / \ ...
2019-12-31 17:56:03 127
原创 LeetCode | 101. Symmetric Tree
题外话:连着好多题都是树。。。题目:iven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree[1,2,2,3,4,4,3]is symmetric: 1 / \...
2019-12-31 17:54:41 123
原创 LeetCode | 100. Same Tree
题目:第100题啦!新的一年,多多刷题呀~Given two binary trees, write a function to check if they are the same or not.Two binary trees are considered the same if they are structurally identical and the nodes...
2019-12-31 17:51:54 146
原创 LeetCode | 99. Recover Binary Search Tree
题目:Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Example 1:Input: [1,3,null,null,2] 1 /3 \ 2Output: [3,1,...
2019-12-31 17:50:15 144
原创 LeetCode | 98. Validate Binary Search Tree
题目:Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only nodes with keysless thanthe node's ke...
2019-12-31 17:49:02 125
原创 Package | OpenCV import cv2报错:找不到libSM.so.6 libXrender.so.1 libXext.so.6
题外话:经常遇到这个问题,每次都google,还是记录一下好了 >.<通常,在一个新的系统环境下,跑CNN或者DL的python代码,会报错找不到cv2 module。环境里没有安装opencv导致的,问题错误通常如下:ModuleNotFoundError: No module named 'cv2'通过pip指令安装opencv-python包即可:pi...
2019-12-26 13:30:51 2967
原创 Package | 升级CMake:cmake 3.13 or higher is required. you are running version 3.5.1
cmake编译的时候报错:CMake Error at CMakeLists.txt:21 (cmake_minimum_required): CMake 3.13 or higher is required. You are running version 3.5.1报错信息提示CMake版本低于要求版本,需要更新CMake。google搜索解法如下,亲测有效,记录以备...
2019-12-24 12:17:19 17416 9
原创 LeetCode | 97. Interleaving String
题目:Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.Example 1:Input: s1 = "aabcc", s2 = "dbbca", s3 = "aadbbcbcac"Output: trueExample 2:Input: s1 = "aabcc"...
2019-12-06 13:57:10 128
Semantic Co-segmentation in Videos
2017-01-05
Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials
2017-01-02
Feature Space Optimization for Semantic Video Segmentation
2017-01-02
An Experimental Comparison of Min-Cut/Max-Flow Algorithms
2016-08-24
(matlab) Seam_Carving
2016-07-15
Seam Carving for Content-Aware Image Resizing
2016-07-14
达拉然的守护
2013-04-02
堆排序代码
2013-01-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人