Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corpsepiges/leetcode
/ functions
Functions
1,433 in github.com/corpsepiges/leetcode
⨍
Functions
1,433
◇
Types & classes
940
Function
is_valid_bst
@param {TreeNode} root @return {Boolean}
ruby/098. Validate Binary Search Tree.rb:12
Method
jump
(int[] nums)
Algorithms/045. Jump Game II/Solution.java:2
Method
jump
(int[] nums)
java/045. Jump Game II.java:2
Method
kSmallestPairs
(int[] nums1, int[] nums2, int k)
Algorithms/373. Find K Pairs with Smallest Sums/Solution.java:2
Method
kSmallestPairs
(int[] nums1, int[] nums2, int k)
java/373. Find K Pairs with Smallest Sums.java:2
Method
kthSmallest
:type root: TreeNode :type k: int :rtype: int
python/230. Kth Smallest Element in a BST.py:11
Method
kthSmallest
(int[][] matrix, int k)
Algorithms/378. Kth Smallest Element in a Sorted Matrix/Solution.java:2
Method
kthSmallest
:type root: TreeNode :type k: int :rtype: int
Algorithms/230. Kth Smallest Element in a BST/Solution.py:11
Method
kthSmallest
(TreeNode root, int k)
Algorithms/230. Kth Smallest Element in a BST/Solution.java:11
Method
kthSmallest
(int[][] matrix, int k)
java/378. Kth Smallest Element in a Sorted Matrix.java:2
Method
kthSmallest
(TreeNode root, int k)
java/230. Kth Smallest Element in a BST.java:11
Function
kth_smallest
@param {TreeNode} root @param {Integer} k @return {Integer}
Algorithms/230. Kth Smallest Element in a BST/Solution.rb:13
Function
kth_smallest
@param {TreeNode} root @param {Integer} k @return {Integer}
ruby/230. Kth Smallest Element in a BST.rb:13
Method
ladderLength
(String beginWord, String endWord, Set<String> wordList)
Algorithms/127. Word Ladder/Solution.java:2
Method
ladderLength
(String beginWord, String endWord, Set<String> wordList)
java/127. Word Ladder.java:2
Method
largestDivisibleSubset
(int[] nums)
Algorithms/368. Largest Divisible Subset/Solution.java:2
Method
largestDivisibleSubset
(int[] nums)
java/368. Largest Divisible Subset.java:2
Method
largestNumber
:type nums: List[int] :rtype: str
python/179. Largest Number.py:4
Method
largestNumber
:type nums: List[int] :rtype: str
Algorithms/179. Largest Number/Solution.py:4
Method
largestNumber
(int[] nums)
Algorithms/179. Largest Number/Solution.java:2
Method
largestNumber
(int[] nums)
java/179. Largest Number.java:2
Method
lastRemaining
(int n)
Algorithms/390. Elimination Game/Solution.java:2
Method
lastRemaining
(int n)
java/390. Elimination Game.java:2
Method
lengthLongestPath
(String input)
Algorithms/388. Longest Absolute File Path/Solution.java:13
Method
lengthLongestPath
(String input)
java/388. Longest Absolute File Path.java:13
Method
lengthOfLIS
(int[] nums)
Algorithms/300. Longest Increasing Subsequence/Solution.java:4
Method
lengthOfLIS
(int[] nums)
java/300. Longest Increasing Subsequence.java:4
Method
lengthOfLastWord
:type s: str :rtype: int
python/058. Length of Last Word.py:4
Method
lengthOfLastWord
:type s: str :rtype: int
Algorithms/058. Length of Last Word/Solution.py:4
Method
lengthOfLastWord
(String s)
Algorithms/058. Length of Last Word/Solution.java:2
Method
lengthOfLastWord
(String s)
java/058. Length of Last Word.java:2
Method
lengthOfLongestSubstring
(String s)
Algorithms/003. Longest Substring Without Repeating Characters/Solution.java:2
Method
lengthOfLongestSubstring
(String s)
java/003. Longest Substring Without Repeating Characters.java:2
Method
letterCombinations
:type digits: str :rtype: List[str]
python/017. Letter Combinations of a Phone Number.py:13
Method
letterCombinations
:type digits: str :rtype: List[str]
Algorithms/017. Letter Combinations of a Phone Number/Solution.py:13
Method
letterCombinations
(String digits)
Algorithms/017. Letter Combinations of a Phone Number/Solution.java:2
Method
letterCombinations
(String digits)
java/017. Letter Combinations of a Phone Number.java:2
Method
levelOrder
:type root: TreeNode :rtype: List[List[int]]
python/102. Binary Tree Level Order Traversal.py:11
Method
levelOrder
:type root: TreeNode :rtype: List[List[int]]
Algorithms/102. Binary Tree Level Order Traversal/Solution.py:11
Method
levelOrder
(TreeNode root)
Algorithms/102. Binary Tree Level Order Traversal/Solution.java:11
Method
levelOrder
(TreeNode root)
java/102. Binary Tree Level Order Traversal.java:11
Method
levelOrderBottom
:type root: TreeNode :rtype: List[List[int]]
python/107. Binary Tree Level Order Traversal II.py:11
Method
levelOrderBottom
:type root: TreeNode :rtype: List[List[int]]
Algorithms/107. Binary Tree Level Order Traversal II/Solution.py:11
Method
levelOrderBottom
(TreeNode root)
Algorithms/107. Binary Tree Level Order Traversal II/Solution.java:11
Method
levelOrderBottom
(TreeNode root)
java/107. Binary Tree Level Order Traversal II.java:11
Method
lexicalOrder
(int n)
Algorithms/386. Lexicographical Numbers/Solution.java:2
Method
lexicalOrder
(int n)
java/386. Lexicographical Numbers.java:2
Method
longestCommonPrefix
:type strs: List[str] :rtype: str
python/014. Longest Common Prefix.py:4
Method
longestCommonPrefix
:type strs: List[str] :rtype: str
Algorithms/014. Longest Common Prefix/Solution.py:4
Method
longestCommonPrefix
(String[] strs)
Algorithms/014. Longest Common Prefix/Solution.java:2
Method
longestCommonPrefix
(String[] strs)
java/014. Longest Common Prefix.java:2
Method
longestConsecutive
(int[] nums)
Algorithms/128. Longest Consecutive Sequence/Solution.java:2
Method
longestConsecutive
(int[] nums)
java/128. Longest Consecutive Sequence.java:2
Method
longestIncreasingPath
:type matrix: List[List[int]] :rtype: int
python/329. Longest Increasing Path in a Matrix.py:8
Method
longestIncreasingPath
:type matrix: List[List[int]] :rtype: int
Algorithms/329. Longest Increasing Path in a Matrix/Solution.py:8
Method
longestIncreasingPath
(int[][] matrix)
Algorithms/329. Longest Increasing Path in a Matrix/Solution.java:7
Method
longestIncreasingPath
(int[][] matrix)
java/329. Longest Increasing Path in a Matrix.java:7
Method
longestPalindrome
(String s)
Algorithms/409. Longest Palindrome/Solution.java:2
Method
longestPalindrome
(String s)
java/409. Longest Palindrome.java:2
Method
longestSubstring
(String s, int k)
Algorithms/395. Longest Substring with At Least K Repeating Characters/Solution.java:2
Method
longestSubstring
(String s, int k)
java/395. Longest Substring with At Least K Repeating Characters.java:2
Method
longestValidParentheses
(String s)
Algorithms/032. Longest Valid Parentheses/Solution.java:2
Method
longestValidParentheses
(String s)
java/032. Longest Valid Parentheses.java:2
Method
lowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
python/236. Lowest Common Ancestor of a Binary Tree.py:11
Method
lowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
python/235. Lowest Common Ancestor of a Binary Search Tree.py:11
Method
lowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
Algorithms/236. Lowest Common Ancestor of a Binary Tree/Solution.py:11
Method
lowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
Algorithms/236. Lowest Common Ancestor of a Binary Tree/Solution.java:11
Method
lowestCommonAncestor
:type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode
Algorithms/235. Lowest Common Ancestor of a Binary Search Tree/Solution.py:11
Method
lowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
Algorithms/235. Lowest Common Ancestor of a Binary Search Tree/Solution.java:11
Method
lowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
java/235. Lowest Common Ancestor of a Binary Search Tree.java:11
Method
lowestCommonAncestor
(TreeNode root, TreeNode p, TreeNode q)
java/236. Lowest Common Ancestor of a Binary Tree.java:11
Method
majorityElement
:type nums: List[int] :rtype: int
python/169. Majority Element.py:4
Method
majorityElement
(int[] nums)
Algorithms/229. Majority Element II/Solution.java:2
Method
majorityElement
:type nums: List[int] :rtype: int
Algorithms/169. Majority Element/Solution.py:4
Method
majorityElement
(int[] nums)
Algorithms/169. Majority Element/Solution.java:2
Method
majorityElement
(int[] nums)
java/169. Majority Element.java:2
Method
majorityElement
(int[] nums)
java/229. Majority Element II.java:2
Method
maxArea
(int[] height)
Algorithms/011. Container With Most Water/Solution.java:2
Method
maxArea
(int[] height)
java/011. Container With Most Water.java:2
Method
maxDepth
:type root: TreeNode :rtype: int
python/104. Maximum Depth of Binary Tree.py:11
Method
maxDepth
:type root: TreeNode :rtype: int
Algorithms/104. Maximum Depth of Binary Tree/Solution.py:11
Method
maxDepth
(TreeNode root)
Algorithms/104. Maximum Depth of Binary Tree/Solution.java:11
Method
maxDepth
(TreeNode root)
java/104. Maximum Depth of Binary Tree.java:11
Method
maxEnvelopes
(int[][] envelopes)
Algorithms/354. Russian Doll Envelopes/Solution.java:2
Method
maxEnvelopes
(int[][] envelopes)
Algorithms/354. Russian Doll Envelopes/GodSolution.java:5
Method
maxEnvelopes
(int[][] envelopes)
java/354. Russian Doll Envelopes.java:2
Method
maxPathSum
(TreeNode root)
Algorithms/124. Binary Tree Maximum Path Sum/Solution.java:13
Method
maxPathSum
(TreeNode root)
java/124. Binary Tree Maximum Path Sum.java:13
Method
maxPoints
(Point[] points)
Algorithms/149. Max Points on a Line/Solution.java:11
Method
maxPoints
(Point[] points)
java/149. Max Points on a Line.java:11
Method
maxProduct
:type words: List[str] :rtype: int
python/318. Maximum Product of Word Lengths.py:4
Method
maxProduct
:type words: List[str] :rtype: int
Algorithms/318. Maximum Product of Word Lengths/Solution.py:4
Method
maxProduct
(String[] words)
Algorithms/318. Maximum Product of Word Lengths/Solution.java:6
Method
maxProduct
(int[] nums)
Algorithms/152. Maximum Product Subarray/Solution.java:2
Method
maxProduct
(int[] nums)
java/152. Maximum Product Subarray.java:2
Method
maxProduct
(String[] words)
java/318. Maximum Product of Word Lengths.java:6
Method
maxProfit
(int[] prices)
Algorithms/123. Best Time to Buy and Sell Stock III/Solution.java:2
Method
maxProfit
(int[] prices)
Algorithms/309. Best Time to Buy and Sell Stock with Cooldown/Solution.java:2
Method
maxProfit
(int[] prices)
Algorithms/122. Best Time to Buy and Sell Stock II/Solution.java:2
Method
maxProfit
(int[] prices)
Algorithms/121. Best Time to Buy and Sell Stock/Solution.java:2
← previous
next →
901–1,000 of 1,433, ranked by callers