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
Method
countPrimes
(int n)
java/204. Count Primes.java:2
Method
countSmaller
:type nums: List[int] :rtype: List[int]
python/315. Count of Smaller Numbers After Self.py:4
Method
countSmaller
:type nums: List[int] :rtype: List[int]
Algorithms/315. Count of Smaller Numbers After Self/Solution.py:4
Method
countSmaller
(int[] nums)
Algorithms/315. Count of Smaller Numbers After Self/Solution.java:2
Method
countSmaller
(int[] nums)
java/315. Count of Smaller Numbers After Self.java:2
Method
decodeString
(String s)
Algorithms/394. Decode String/Solution.java:2
Method
decodeString
(String s)
java/394. Decode String.java:2
Method
deleteDuplicates
:type head: ListNode :rtype: ListNode
python/083. Remove Duplicates from Sorted List.py:10
Method
deleteDuplicates
:type head: ListNode :rtype: ListNode
python/082. Remove Duplicates from Sorted List II.py:10
Method
deleteDuplicates
:type head: ListNode :rtype: ListNode
Algorithms/083. Remove Duplicates from Sorted List/Solution.py:10
Method
deleteDuplicates
(ListNode head)
Algorithms/083. Remove Duplicates from Sorted List/Solution.java:10
Method
deleteDuplicates
:type head: ListNode :rtype: ListNode
Algorithms/082. Remove Duplicates from Sorted List II/Solution.py:10
Method
deleteDuplicates
(ListNode head)
Algorithms/082. Remove Duplicates from Sorted List II/Solution.java:10
Method
deleteDuplicates
(ListNode head)
java/083. Remove Duplicates from Sorted List.java:10
Method
deleteDuplicates
(ListNode head)
java/082. Remove Duplicates from Sorted List II.java:10
Method
deleteNode
:type node: ListNode :rtype: void Do not return anything, modify node in-place instead.
python/237. Delete Node in a Linked List.py:10
Method
deleteNode
:type node: ListNode :rtype: void Do not return anything, modify node in-place instead.
Algorithms/237. Delete Node in a Linked List/Solution.py:10
Method
deleteNode
(ListNode node)
Algorithms/237. Delete Node in a Linked List/Solution.java:10
Method
deleteNode
(ListNode node)
java/237. Delete Node in a Linked List.java:10
Method
deserialize
(String s)
Algorithms/385. Mini Parser/Solution.java:30
Method
deserialize
(String data)
Algorithms/297. Serialize and Deserialize Binary Tree/Solution.java:37
Method
deserialize
(String data)
java/297. Serialize and Deserialize Binary Tree.java:37
Method
deserialize
(String s)
java/385. Mini Parser.java:30
Method
detectCycle
:type head: ListNode :rtype: ListNode
python/142. Linked List Cycle II.py:10
Method
detectCycle
:type head: ListNode :rtype: ListNode
Algorithms/142. Linked List Cycle II/Solution.py:10
Method
detectCycle
(ListNode head)
Algorithms/142. Linked List Cycle II/Solution.java:13
Method
detectCycle
(ListNode head)
java/142. Linked List Cycle II.java:13
Method
divide
(int dividend, int divisor)
Algorithms/029. Divide Two Integers/Solution.java:2
Method
divide
(int dividend, int divisor)
java/029. Divide Two Integers.java:2
Method
empty
()
Algorithms/225. Implement Stack using Queues/Solution.java:19
Method
empty
()
java/225. Implement Stack using Queues.java:19
Method
evalRPN
(String[] tokens)
Algorithms/150. Evaluate Reverse Polish Notation/Solution.java:2
Method
evalRPN
(String[] tokens)
java/150. Evaluate Reverse Polish Notation.java:2
Method
exist
(char[][] board, String word)
Algorithms/079. Word Search/Solution.java:2
Method
exist
(char[][] board, String word)
java/079. Word Search.java:2
Method
findDuplicate
:type nums: List[int] :rtype: int
python/287. Find the Duplicate Number.py:4
Method
findDuplicate
:type nums: List[int] :rtype: int
Algorithms/287. Find the Duplicate Number/Solution.py:4
Method
findDuplicate
(int[] nums)
Algorithms/287. Find the Duplicate Number/Solution.java:2
Method
findDuplicate
(int[] nums)
java/287. Find the Duplicate Number.java:2
Method
findKthLargest
:type nums: List[int] :type k: int :rtype: int
python/215. Kth Largest Element in an Array.py:4
Method
findKthLargest
:type nums: List[int] :type k: int :rtype: int
Algorithms/215. Kth Largest Element in an Array/Solution.py:4
Method
findKthLargest
(int[] nums, int k)
Algorithms/215. Kth Largest Element in an Array/Solution.java:2
Method
findKthLargest
(int[] nums, int k)
java/215. Kth Largest Element in an Array.java:2
Method
findMedian
()
Algorithms/295. Find Median from Data Stream/Solution.java:34
Method
findMedian
()
java/295. Find Median from Data Stream.java:34
Method
findMin
(int[] nums)
Algorithms/153. Find Minimum in Rotated Sorted Array/Solution.java:2
Method
findMin
(int[] nums)
Algorithms/154. Find Minimum in Rotated Sorted Array II/Solution.java:2
Method
findMin
(int[] nums)
java/154. Find Minimum in Rotated Sorted Array II.java:2
Method
findMin
(int[] nums)
java/153. Find Minimum in Rotated Sorted Array.java:2
Method
findNthDigit
(int n)
Algorithms/400. Nth Digit/Solution.java:2
Method
findNthDigit
(int n)
java/400. Nth Digit.java:2
Method
findPeakElement
(int[] nums)
Algorithms/162. Find Peak Element/Solution.java:2
Method
findPeakElement
(int[] nums)
java/162. Find Peak Element.java:2
Method
findRepeatedDnaSequences
(String s)
Algorithms/187. Repeated DNA Sequences/Solution.java:2
Method
findRepeatedDnaSequences
(String s)
java/187. Repeated DNA Sequences.java:2
Method
findTheDifference
(String s, String t)
Algorithms/389. Find the Difference/Solution.java:2
Method
findTheDifference
(String s, String t)
java/389. Find the Difference.java:2
Method
findWords
(char[][] board, String[] words)
Algorithms/212. Word Search II/Solution.java:4
Method
findWords
(char[][] board, String[] words)
java/212. Word Search II.java:4
Method
firstBadVersion
:type n: int :rtype: int
python/278. First Bad Version.py:9
Method
firstBadVersion
:type n: int :rtype: int
Algorithms/278. First Bad Version/Solution.py:9
Method
firstBadVersion
(int n)
Algorithms/278. First Bad Version/Solution.java:5
Method
firstBadVersion
(int n)
java/278. First Bad Version.java:5
Method
firstMissingPositive
:type nums: List[int] :rtype: int
python/041. First Missing Positive.py:4
Method
firstMissingPositive
:type nums: List[int] :rtype: int
Algorithms/041. First Missing Positive/Solution.py:4
Method
firstMissingPositive
(int[] nums)
Algorithms/041. First Missing Positive/Solution.java:2
Method
firstMissingPositive
(int[] nums)
java/041. First Missing Positive.java:2
Method
firstUniqChar
(String s)
Algorithms/387. First Unique Character in a String/Solution.java:2
Method
firstUniqChar
(String s)
java/387. First Unique Character in a String.java:2
Method
flatten
:type root: TreeNode :rtype: void Do not return anything, modify root in-place instead.
python/114. Flatten Binary Tree to Linked List.py:11
Method
flatten
:type root: TreeNode :rtype: void Do not return anything, modify root in-place instead.
Algorithms/114. Flatten Binary Tree to Linked List/Solution.py:11
Method
flatten
(TreeNode root)
Algorithms/114. Flatten Binary Tree to Linked List/Solution.java:12
Method
flatten
(TreeNode root)
java/114. Flatten Binary Tree to Linked List.java:12
Method
follow
Follower follows a followee. If the operation is invalid, it should be a no-op.
Algorithms/355. Design Twitter/Solution.java:43
Method
follow
Follower follows a followee. If the operation is invalid, it should be a no-op.
java/355. Design Twitter.java:43
Method
fourSum
(int[] nums, int target)
Algorithms/018. 4Sum/Solution.java:3
Method
fourSum
(int[] nums, int target)
java/018. 4Sum.java:3
Method
fractionToDecimal
(int numerator, int denominator)
Algorithms/166. Fraction to Recurring Decimal/Solution.java:2
Method
fractionToDecimal
(int numerator, int denominator)
java/166. Fraction to Recurring Decimal.java:2
Method
fullJustify
:type words: List[str] :type maxWidth: int :rtype: List[str]
python/068. Text Justification.py:4
Method
fullJustify
:type words: List[str] :type maxWidth: int :rtype: List[str]
Algorithms/068. Text Justification/Solution.py:4
Method
fullJustify
(String[] words, int maxWidth)
Algorithms/068. Text Justification/Solution.java:2
Method
fullJustify
(String[] words, int maxWidth)
java/068. Text Justification.java:2
Method
gameOfLife
:type board: List[List[int]] :rtype: void Do not return anything, modify board in-place instead.
python/289. Game of Life.py:7
Method
gameOfLife
:type board: List[List[int]] :rtype: void Do not return anything, modify board in-place instead.
Algorithms/289. Game of Life/Solution.py:7
Method
gameOfLife
(int[][] board)
Algorithms/289. Game of Life/Solution.java:2
Method
gameOfLife
(int[][] board)
java/289. Game of Life.java:2
Method
generate
:type numRows: int :rtype: List[List[int]]
python/118. Pascal's Triangle.py:4
Method
generate
:type numRows: int :rtype: List[List[int]]
Algorithms/118. Pascal's Triangle/Solution.py:4
Method
generate
(int numRows)
Algorithms/118. Pascal's Triangle/Solution.java:2
Method
generate
(int numRows)
java/118. Pascal's Triangle.java:2
Method
generateMatrix
:type n: int :rtype: List[List[int]]
python/059. Spiral Matrix II.py:4
Method
generateMatrix
:type n: int :rtype: List[List[int]]
Algorithms/059. Spiral Matrix II/Solution.py:4
Method
generateMatrix
(int n)
Algorithms/059. Spiral Matrix II/Solution.java:2
Method
generateMatrix
(int n)
java/059. Spiral Matrix II.java:2
Method
generateParenthesis
:type n: int :rtype: List[str]
python/022. Generate Parentheses.py:4
Method
generateParenthesis
:type n: int :rtype: List[str]
Algorithms/022. Generate Parentheses/Solution.py:4
Method
generateParenthesis
(int n)
Algorithms/022. Generate Parentheses/Solution.java:2
Method
generateParenthesis
(int n)
java/022. Generate Parentheses.java:2
Method
generateTrees
(int n)
Algorithms/095. Unique Binary Search Trees II/Solution.java:11
← previous
next →
601–700 of 1,433, ranked by callers