- 博客(38)
- 资源 (42)
- 收藏
- 关注
原创 LeetCode538. Convert BST to Greater Tree
538. Convert BST to Greater TreeGiven a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater tha...
2018-12-26 23:00:08 103
原创 LeetCode438. Find All Anagrams in a String
438. Find All Anagrams in a StringGiven a string s and a non-empty string p, find all the start indices of p's anagrams in s.Strings consists of lowercase English letters only and the length of bo...
2018-12-26 22:36:18 190
转载 leetcode substring search problem solve template
https://leetcode.com/problems/find-all-anagrams-in-a-string/discuss/92007/Sliding-Window-algorithm-template-to-solve-all-the-Leetcode-substring-search-problem.Among all leetcode questions, I find th...
2018-12-26 14:12:14 315
原创 LeetCode337. House Robber III
337. House Robber IIIThe thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each house has one and only one par...
2018-12-23 20:24:15 224
原创 VS2015编译opencv时cap_msmf出错
问题VS2015编译opencv的videoio模块时cap_msmf部分出错。提示_ComPtr<ID3D11Multithread> D3DDevMT中ID3D11Multithread未声明的标识符,非法的间接寻址等错误。解决方法取消勾选【WITH_MSMF】后重新Configure,Generate。...
2018-12-23 10:06:21 1482
原创 234. Palindrome Linked List
234.Palindrome Linked ListGiven a singly linked list, determine if it is a palindrome.Example 1:Input: 1->2Output: falseExample 2:Input: 1->2->2->1Output: true判断链表中的值是否构成回...
2018-12-19 21:06:17 119
原创 LeetCode169. Majority Element
169. Majority ElementGiven an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and th...
2018-12-15 11:37:41 125
原创 LeetCode49. Group Anagrams
49. Group AnagramsGiven an array of strings, group anagrams together.Example:Input: ["eat", "tea", "tan", "ate", "nat", "bat"],Output:[ ["ate","eat","tea"]
2018-12-10 13:04:30 137
转载 A general approach to backtracking questions in Java (Subsets, Permutations, Combination Sum)
一些问题回溯法的解决方法。https://leetcode.com/problems/combination-sum/discuss/16502/A-general-approach-to-backtracking-questions-in-Java-(Subsets-Permutations-Combination-Sum-Palindrome-Partitioning)This str...
2018-12-09 18:49:18 243
原创 LeetCode34. Find First and Last Position of Element in Sorted Array
34. Find First and Last Position of Element in Sorted ArrayGiven an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.Your algorithm's...
2018-12-09 16:07:38 147
原创 LeetCode33. Search in Rotated Sorted Array
33. Search in Rotated Sorted ArraySuppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).You are given...
2018-12-09 14:52:15 146
原创 LeetCode31. Next Permutation
31. Next PermutationImplement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as...
2018-12-07 23:09:42 181
原创 LeetCode22. Generate Parentheses(括号生成)
22.Generate Parentheses[Medium]Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:[ "((()))"...
2018-12-07 15:14:41 198
原创 LeetCode19. Remove Nth Node From End of List
19. Remove Nth Node From End of ListGiven a linked list, remove the n-th node from the end of list and return its head.Example:Given linked list: 1->2->3->4->5, and n = 2.After re...
2018-12-06 13:07:28 145
转载 Backtracking回溯法
https://segmentfault.com/a/1190000006121957回溯是啥用爬山来比喻回溯,好比从山脚下找一条爬上山顶的路,起初有好几条道可走,当选择一条道走到某处时,又有几条岔道可供选择,只能选择其中一条道往前走,若能这样子顺利爬上山顶则罢了,否则走到一条绝路上时,只好返回到最近的一个路口,重新选择另一条没走过的道往前走。如果该路口的所有路都走不通,只得从该路口继续回...
2018-12-05 19:32:45 1274
原创 LeetCode17. Letter Combinations of a Phone Number
17.Letter Combinations of a Phone NumberGiven a string containing digits from2-9inclusive, return all possible letter combinations that the number could represent.A mapping of digit to letters ...
2018-12-05 17:10:52 159
原创 LeetCode4. Median of Two Sorted Arrays
4.Median of Two Sorted ArraysThere are two sorted arraysnums1andnums2of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+...
2018-12-01 21:50:46 125
pytorch_1.6.0_docs_tutorials.rar
2020-08-01
opencv_contrib345_x64_vc12_vc14_vc15
2018-12-23
opencv_contrib-4.0.0-mingw53_32
2018-11-20
opencv400_vc14_vc15_x86_x64
2018-11-19
opencv343-mingw53_32
2018-10-29
opencv343_vc10_x86_64
2018-10-13
opencv400-alpha
2018-10-13
IrfanView4.51
2018-09-19
tensorflow1.7.1_cpu_x64_vc14_release dll
2018-07-20
opencv342_vc10_vc12_x86_64
2018-07-20
pytorch_1.9.0_docs_tutorials.zip
2021-06-19
pytorch_1.7.0_docs_tutorials.zip
2020-10-28
ChromeStandaloneSetup64_83.0.4103.116.exe
2020-07-12
gdal202.dll/gdal300.dll
2020-01-14
chrome-amd64_79.0.3945.117.deb
2020-01-13
opencv420_contrib_vc14_vc15_vc16_x64.rar
2019-12-25
chrome_73.0.3683.103.deb
2019-04-12
ChromeStandaloneSetup64_72.0.3626.109.exe
2019-02-15
opencv_contrib401_x86_x64_vc14_vc15
2018-12-25
opencv_contrib345_x86_vc12_vc14_vc15
2018-12-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人