JavaShuo
欄目
標籤
基於Java實現LeetCode算法彙總
時間 2019-11-07
標籤
基於
java
實現
leetcode
算法
彙總
欄目
Java
简体版
原文
原文鏈接
github.com/zaiyunduan1…
java
二分查找
雙指針
kSum
哈希表
字典樹
字符串
尺取法
並查集
排序
數學
數組
棧
鏈表
鏈表刪除
鏈表反轉
鏈表合併
雙向鏈表
二叉樹
二叉樹的遍歷
二叉樹的層序遍歷
二叉樹的路徑
二叉樹的搜索
二叉樹的構造
二叉樹的性質
深度優先搜索
貪心
回溯
分治
動態規劃
GameDP
MatrixDP
SequenceDP
TwoSequenceDP
揹包問題
二分查找
[704] Binary Search
[441] Arranging Coins
[222] Count Complete Tree Nodes
[162] Find Peak Element
[744] Find Smallest Letter Greater Than Target
[278] First Bad Version
[374] Guess Number Higher or Lower
[69] Sqrt(x)
[852] Peak Index in a Mountain Array
[35] Search Insert Position
[540] Single Element in a Sorted Array
[454] 4Sum II
[33] Search in Rotated Sorted Array
[81] Search in Rotated Sorted Array II
雙指針
[633] Sum of Square Numbers
[11] Container With Most Water
[26] Remove Duplicates from Sorted Array
[27] Remove Element
[88] Merge Sorted Array
kSum
[1] Two Sum
[15] 3Sum
[16] 3Sum Closest
哈希表
[575] Distribute Candies
[500] Keyboard Row
[771] Jewels and Stones
[884] Uncommon Words from Two Sentences
字典樹
[211] Add and Search Word - Data structure design
[208] Implement Trie (Prefix Tree)
字符串
[22] Generate Parentheses
[929] Unique Email Addresses
[821] Shortest Distance to a Character
[709] To Lower Case
[804] Unique Morse Code Words
[3] Longest Substring Without Repeating Characters
[14] Longest Common Prefix
[13] Roman to Integer
尺取法
[209] Minimum Size Subarray Sum
並查集
[107] Binary Tree Level Order Traversal II
[684] Redundant Connection
[112] Path Sum
[297] Serialize and Deserialize Binary Tree
[79] Word Search
排序
[215] Kth Largest Element in an Array
[75] Sort Colors
數學
[868] Binary Gap
[204] Count Primes
[942] DI String Match
[461] Hamming Distance
[476] Number Complement
[728] Self Dividing Numbers
[67] Add Binary
[9] Palindrome Number
[7] Reverse Integer
數組
[717] 1-bit and 2-bit Characters
[412] Fizz Buzz
[832] Flipping an Image
[349] Intersection of Two Arrays
[350] Intersection of Two Arrays II
[905] Sort Array By Parity
[922] Sort Array By Parity II
[766] Toeplitz Matrix
[867] Transpose Matrix
[66] Plus One
[1] Two Sum
棧
[844] Backspace String Compare
[682] Baseball Game
[224] Basic Calculator
[150] Evaluate Reverse Polish Notation
[232] Implement Queue using Stacks
[225] Implement Stack using Queues
[32] Longest Valid Parentheses
[155] Min Stack
[496] Next Greater Element I
[71] Simplify Path
[20] Valid Parentheses
鏈表
鏈表刪除
[237] Delete Node in a Linked List
[19] Remove Nth Node From End of List
鏈表反轉
[77] Combinations
[24] Swap Nodes in Pairs
鏈表合併
[2] Add Two Numbers
[160] Intersection of Two Linked Lists
[21] Merge Two Sorted Lists
雙向鏈表
[707] Design Linked List
二叉樹
二叉樹的遍歷
[144] Binary Tree Preorder Traversal
[94] Binary Tree Inorder Traversal
[145] Binary Tree Postorder Traversal
二叉樹的層序遍歷
[102] Binary Tree Level Order Traversal
[107] Binary Tree Level Order Traversal II
[103] Binary Tree Zigzag Level Order Traversal
[429] N-ary Tree Level Order Traversal
二叉樹的路徑
[124] Binary Tree Maximum Path Sum
二叉樹的搜索
[623] Add One Row to Tree
[637] Average of Levels in Binary Tree
[199] Binary Tree Right Side View
[513] Find Bottom Left Tree Value
[515] Find Largest Value in Each Tree Row
[236] Lowest Common Ancestor of a Binary Tree
[617] Merge Two Binary Trees
[530] Minimum Absolute Difference in BST
[116] Populating Next Right Pointers in Each Node
[700] Search in a Binary Search Tree
二叉樹的構造
[108] Convert Sorted Array to Binary Search Tree
二叉樹的性質
[669] Trim a Binary Search Tree
[110] Balanced Binary Tree
深度優先搜索
[690] Employee Importance
[897] Increasing Order Search Tree
[872] Leaf-Similar Trees
[542] 01 Matrix
[104] Maximum Depth of Binary Tree
[46] Permutations
[590] N-ary Tree Postorder Traversal
[589] N-ary Tree Preorder Traversal
貪心
[455] Assign Cookies
[392] Is Subsequence
[452] Minimum Number of Arrows to Burst Balloons
[435] Non-overlapping Intervals
[406] Queue Reconstruction by Height
回溯
[401] Binary Watch
[784] Letter Case Permutation
分治
[241] Different Ways to Add Parentheses
動態規劃
GameDP
[198] House Robber
[486] Predict the Winner
MatrixDP
[64] Minimum Path Sum
[120] Triangle
[62] Unique Paths
[63] Unique Paths II
SequenceDP
[70] Climbing Stairs
[55] Jump Game
[300] Longest Increasing Subsequence
TwoSequenceDP
[72] Edit Distance
[77] Combinations
[53] Maximum Subarray
揹包問題
[416] Partition Equal Subset Sum
[322] Coin Change
相關文章
1.
基於Java實現LeetCode算法彙總(持續更新)
2.
leetcode算法題目彙總
3.
LeetCode題目算法彙總
4.
排序算法彙總(C/C++實現)
5.
算法原理與實現彙總
6.
常用算法java彙總
7.
LeetCode算法題-Subdomain Visit Count(Java實現)
8.
LeetCode算法題-Flood Fill(Java實現)
9.
LeetCode算法題-Design HashSet(Java實現)
10.
LeetCode算法題-Reverse Linked List(Java實現)
更多相關文章...
•
Docker 資源彙總
-
Docker教程
•
Spring聲明式事務管理(基於XML方式實現)
-
Spring教程
•
☆基於Java Instrument的Agent實現
•
算法總結-回溯法
相關標籤/搜索
JAVA算法實現
算法實現
PHP 實現算法
KMP算法實現
算法python實現
LeetCode-算法
LeetCode算法-53
LeetCode算法-38
現匯
總彙
Java
紅包項目實戰
PHP教程
PHP 7 新特性
算法
java
計算
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
升級Gradle後報錯Gradle‘s dependency cache may be corrupt (this sometimes occurs
2.
Smarter, Not Harder
3.
mac-2019-react-native 本地環境搭建(xcode-11.1和android studio3.5.2中Genymotion2.12.1 和VirtualBox-5.2.34 )
4.
查看文件中關鍵字前後幾行的內容
5.
XXE萌新進階全攻略
6.
Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用
7.
zabbix5.0通過agent監控winserve12
8.
IT行業UI前景、潛力如何?
9.
Mac Swig 3.0.12 安裝
10.
Windows上FreeRDP-WebConnect是一個開源HTML5代理,它提供對使用RDP的任何Windows服務器和工作站的Web訪問
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
基於Java實現LeetCode算法彙總(持續更新)
2.
leetcode算法題目彙總
3.
LeetCode題目算法彙總
4.
排序算法彙總(C/C++實現)
5.
算法原理與實現彙總
6.
常用算法java彙總
7.
LeetCode算法題-Subdomain Visit Count(Java實現)
8.
LeetCode算法題-Flood Fill(Java實現)
9.
LeetCode算法題-Design HashSet(Java實現)
10.
LeetCode算法題-Reverse Linked List(Java實現)
>>更多相關文章<<