![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
蝴蝶飞过城市高楼
这个作者很懒,什么都没留下…
展开
-
160. Intersection of Two Linked Lists - Java
文章目录160. Intersection of Two Linked ListsDescriptionSolutionsSubmissionsSummary160. Intersection of Two Linked Listshttps://leetcode.com/problems/intersection-of-two-linked-lists/DescriptionSoluti...原创 2019-05-10 21:24:30 · 119 阅读 · 0 评论 -
167. Two Sum II - Input array is sorted
文章目录167. Two Sum II - Input array is sortedDescriptionSolutionsSubmissionsSummary167. Two Sum II - Input array is sortedhttps://leetcode.com/problems/two-sum-ii-input-array-is-sorted/DescriptionSo...原创 2019-05-12 18:57:07 · 98 阅读 · 0 评论 -
168. Excel Sheet Column Title
文章目录168. Excel Sheet Column TitleDescriptionSolutionsSubmissionsSummary168. Excel Sheet Column Titlehttps://leetcode.com/problems/excel-sheet-column-title/Description将十进制转为26进制。Given a positive i...原创 2019-05-12 19:15:39 · 76 阅读 · 0 评论 -
189. Rotate Array 反转数组 #Array
文章目录189. Rotate ArrayDescriptionSolutionsSubmissionsSummary189. Rotate Arrayhttps://leetcode.com/problems/rotate-array/DescriptionGiven an array, rotate the array to the right by k steps, where k ...原创 2019-09-11 15:35:26 · 145 阅读 · 0 评论 -
190. Reverse Bits 颠倒二进制位 #Bit Manipulation
颠倒给定的 32 位无符号整数的二进制位。文章目录[LC] 190. Reverse BitsDescriptionSolutionsSubmissionsSummary[LC] 190. Reverse Bitshttps://leetcode.com/problems/rotate-array/DescriptionGiven an array, rotate the array t...原创 2019-09-11 21:40:43 · 353 阅读 · 0 评论 -
191. Number of 1 Bits 位1的个数 #Bit Manipulation
文章目录191. Number of 1 BitsDescriptionSolutionsSubmissionsSummary191. Number of 1 Bitshttps://leetcode.com/problems/reverse-bits/DescriptionReverse bits of a given 32 bits unsigned integer.Example ...原创 2019-09-13 19:06:08 · 97 阅读 · 0 评论 -
2. Add Two Numbers 两数相加 #Linked List #Math
2. Add Two Numbershttps://leetcode.com/problems/add-two-numbers/DescriptionYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order an...原创 2019-09-14 22:54:00 · 115 阅读 · 0 评论 -
3. Longest Substring Without Repeating Characters 无重复字符的最长子串
3. Longest Substring Without Repeating Charactershttps://leetcode.com/problems/longest-substring-without-repeating-characters/DescriptionGiven a string, find the length of the longest substring wit...原创 2019-09-15 20:35:54 · 93 阅读 · 0 评论 -
35. Search Insert Position 搜索插入位置 #Binary Search 新的二分法算法
纠结二分法的中位数怎么取吗原创 2019-09-17 17:29:10 · 110 阅读 · 0 评论 -
125. Valid Palindrome
文章目录125. Valid PalindromeDescriptionSolutionsSubmissionsSummary125. Valid Palindromehttps://leetcode.com/problems/valid-palindrome/DescriptionGiven a string, determine if it is a palindrome, consi...原创 2019-05-07 13:13:57 · 85 阅读 · 0 评论 -
122. Best Time to Buy and Sell Stock II
文章目录122. Best Time to Buy and Sell Stock IIDescriptionSolutionsSubmissionsSummary122. Best Time to Buy and Sell Stock IIhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/Description...原创 2019-05-06 22:31:25 · 73 阅读 · 0 评论 -
121. Best Time to Buy and Sell Stock
文章目录121. Best Time to Buy and Sell StockDescriptionSolutionsSubmissionsSummary121. Best Time to Buy and Sell Stockhttps://leetcode.com/problems/best-time-to-buy-and-sell-stock/DescriptionSolutions...原创 2019-05-06 21:41:15 · 86 阅读 · 0 评论 -
107.Binary Tree Level Order Traversal II
107.Binary Tree Level Order Traversal IIDescriptionbinary-tree-level-order-traversal-iiGiven a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right,...原创 2019-04-21 16:10:37 · 94 阅读 · 0 评论 -
112. Path Sum
文章目录112. Path SumDescriptionSolutionsSubmissionsSummary112. Path Sumhttps://leetcode.com/problems/path-sum/DescriptionGiven a binary tree and a sum, determine if the tree has a root-to-leaf path s...原创 2019-04-25 21:48:16 · 75 阅读 · 0 评论 -
118. Pascal's Triangle
文章目录118. Pascal's TriangleDescriptionSolutionsSubmissionsSummary118. Pascal’s TriangleDescriptionSolutionsSubmissionsSummary原创 2019-04-26 22:10:54 · 68 阅读 · 0 评论 -
119. Pascal's Triangle II
https://leetcode.com/problems/pascals-triangle-ii/class Solution {public List getRow(int rowIndex) {List front=new ArrayList<>();front.add(1);for(int i=1;i<=rowIndex;i++){List ls=new A...原创 2019-04-27 11:06:15 · 96 阅读 · 0 评论 -
108. Convert Sorted Array to Binary Search Tree
文章目录108. Convert Sorted Array to Binary Search TreeDescriptionSolutionsSubmissionsSummary108. Convert Sorted Array to Binary Search TreeDescriptionGiven an array where elements are sorted in ascend...原创 2019-04-23 11:14:28 · 81 阅读 · 0 评论 -
110. Balanced Binary Tree
就是每个deep(parent)=max(deep(l),deep®)if(deep(l)–deep®绝对值>1) return false就是后序遍历,先把左右儿子的深度算出来原创 2019-04-23 13:55:38 · 85 阅读 · 0 评论 -
111. Minimum Depth of Binary Tree
文章目录111. Minimum Depth of Binary TreeDescriptionSolutionsSubmissionsSummary111. Minimum Depth of Binary Treehttps://leetcode.com/problems/minimum-depth-of-binary-tree/DescriptionGiven a binary tre...原创 2019-04-24 10:46:32 · 91 阅读 · 0 评论 -
136. Single Number - Java
文章目录136. Single NumberDescriptionSolutionsSubmissionsSummary136. Single Numberhttps://leetcode.com/problems/single-number/DescriptionGiven a non-empty array of integers, every element appears twic...原创 2019-05-08 10:28:21 · 143 阅读 · 0 评论 -
141. Linked List Cycle - Java
文章目录141. Linked List CycleDescriptionSolutionsSubmissionsSummary141. Linked List Cyclehttps://leetcode.com/problems/linked-list-cycle/DescriptionGiven a linked list, determine if it has a cycle in...原创 2019-05-09 10:05:06 · 175 阅读 · 0 评论 -
11. Container With Most Water 盛最多水的容器 # Two-pointers
贪心的猫子有奶喝原创 2019-10-08 21:22:27 · 115 阅读 · 0 评论