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
numSquares
(int n)
Algorithms/279. Perfect Squares/Solution.java:3
Method
numSquares
(int n)
java/279. Perfect Squares.java:3
Method
numTrees
:type n: int :rtype: int
python/096. Unique Binary Search Trees.py:6
Method
numTrees
:type n: int :rtype: int
Algorithms/096. Unique Binary Search Trees/Solution.py:6
Method
numTrees
(int n)
Algorithms/096. Unique Binary Search Trees/Solution.java:2
Method
numTrees
(int n)
java/096. Unique Binary Search Trees.java:2
Method
numberToWords
:type num: int :rtype: str
python/273. Integer to English Words.py:7
Method
numberToWords
:type num: int :rtype: str
Algorithms/273. Integer to English Words/Solution.py:7
Method
numberToWords
(int num)
Algorithms/273. Integer to English Words/Solution.java:2
Method
numberToWords
(int num)
java/273. Integer to English Words.java:2
Method
oddEvenList
:type head: ListNode :rtype: ListNode
python/328. Odd Even Linked List.py:10
Method
oddEvenList
:type head: ListNode :rtype: ListNode
Algorithms/328. Odd Even Linked List/Solution.py:10
Method
oddEvenList
(ListNode head)
Algorithms/328. Odd Even Linked List/Solution.java:10
Method
oddEvenList
(ListNode head)
java/328. Odd Even Linked List.java:10
Method
oneSentenceMethod
:type nums: List[int] :type k: int :rtype: List[int]
python/347. Top K Frequent Elements.py:28
Method
oneSentenceMethod
:type nums: List[int] :type k: int :rtype: List[int]
Algorithms/347. Top K Frequent Elements/Solution.py:28
Method
pacificAtlantic
(int[][] matrix)
Algorithms/417. Pacific Atlantic Water Flow/Solution.java:10
Method
pacificAtlantic
(int[][] matrix)
java/417. Pacific Atlantic Water Flow.java:10
Method
partition
:type head: ListNode :type x: int :rtype: ListNode
python/086. Partition List.py:15
Method
partition
:type head: ListNode :type x: int :rtype: ListNode
Algorithms/086. Partition List/Solution.py:15
Method
partition
(ListNode head, int x)
Algorithms/086. Partition List/Solution.java:10
Method
partition
(String s)
Algorithms/131. Palindrome Partitioning/Solution.java:3
Method
partition
(ListNode head, int x)
java/086. Partition List.java:10
Method
partition
(String s)
java/131. Palindrome Partitioning.java:3
Method
pathSum
:type root: TreeNode :type sum: int :rtype: List[List[int]]
python/113. Path Sum II.py:11
Method
pathSum
:type root: TreeNode :type sum: int :rtype: List[List[int]]
Algorithms/113. Path Sum II/Solution.py:11
Method
pathSum
(TreeNode root, int sum)
Algorithms/113. Path Sum II/Solution.java:11
Method
pathSum
(TreeNode root, int sum)
java/113. Path Sum II.java:11
Method
peek
()
Algorithms/232. Implement Queue using Stacks/Solution.java:31
Method
peek
()
java/232. Implement Queue using Stacks.java:31
Method
permute
:type nums: List[int] :rtype: List[List[int]]
python/046. Permutations.py:4
Method
permute
:type nums: List[int] :rtype: List[List[int]]
Algorithms/046. Permutations/Solution.py:4
Method
permute
(int[] nums)
Algorithms/046. Permutations/Solution.java:2
Method
permute
(int[] nums)
java/046. Permutations.java:2
Method
permuteUnique
:type nums: List[int] :rtype: List[List[int]]
python/047. Permutations II.py:4
Method
permuteUnique
:type nums: List[int] :rtype: List[List[int]]
Algorithms/047. Permutations II/Solution.py:4
Method
permuteUnique
(int[] nums)
Algorithms/047. Permutations II/Solution.java:3
Method
permuteUnique
(int[] nums)
java/047. Permutations II.java:3
Method
pick
(int target)
Algorithms/398. Random Pick Index/Solution.java:8
Method
pick
(int target)
java/398. Random Pick Index.java:8
Method
plusOne
(int[] digits)
Algorithms/066. Plus One/Solution.java:2
Method
plusOne
(int[] digits)
java/066. Plus One.java:2
Method
pop
()
Algorithms/155. Min Stack/Solution.java:7
Method
pop
()
Algorithms/225. Implement Stack using Queues/Solution.java:9
Method
pop
()
java/155. Min Stack.java:7
Method
pop
()
java/225. Implement Stack using Queues.java:9
Method
postTweet
Compose a new tweet.
Algorithms/355. Design Twitter/Solution.java:13
Method
postTweet
Compose a new tweet.
java/355. Design Twitter.java:13
Method
postorderTraversal
:type root: TreeNode :rtype: List[int]
python/145. Binary Tree Postorder Traversal.py:11
Method
postorderTraversal
:type root: TreeNode :rtype: List[int]
Algorithms/145. Binary Tree Postorder Traversal/Solution.py:11
Method
postorderTraversal
(TreeNode root)
Algorithms/145. Binary Tree Postorder Traversal/Solution.java:11
Method
postorderTraversal
(TreeNode root)
java/145. Binary Tree Postorder Traversal.java:11
Method
preorderTraversal
:type root: TreeNode :rtype: List[int]
python/144. Binary Tree Preorder Traversal.py:11
Method
preorderTraversal
:type root: TreeNode :rtype: List[int]
Algorithms/144. Binary Tree Preorder Traversal/Solution.py:11
Method
preorderTraversal
(TreeNode root)
Algorithms/144. Binary Tree Preorder Traversal/Solution.java:11
Method
preorderTraversal
(TreeNode root)
java/144. Binary Tree Preorder Traversal.java:11
Function
preorder_traversal
@param {TreeNode} root @return {Integer[]}
Algorithms/144. Binary Tree Preorder Traversal/Solution.rb:12
Function
preorder_traversal
@param {TreeNode} root @return {Integer[]}
ruby/144. Binary Tree Preorder Traversal.rb:12
Method
productExceptSelf
:type nums: List[int] :rtype: List[int]
python/238. Product of Array Except Self.py:4
Method
productExceptSelf
:type nums: List[int] :rtype: List[int]
Algorithms/238. Product of Array Except Self/Solution.py:4
Method
productExceptSelf
(int[] nums)
Algorithms/238. Product of Array Except Self/Solution.java:2
Method
productExceptSelf
(int[] nums)
java/238. Product of Array Except Self.java:2
Method
push
(int x)
Algorithms/225. Implement Stack using Queues/Solution.java:4
Method
push
(int x)
java/225. Implement Stack using Queues.java:4
Method
rangeBitwiseAnd
(int m, int n)
Algorithms/201. Bitwise AND of Numbers Range/Solution.java:2
Method
rangeBitwiseAnd
(int m, int n)
java/201. Bitwise AND of Numbers Range.java:2
Method
readBinaryWatch
(int num)
Algorithms/401. Binary Watch/Solution.java:102
Method
readBinaryWatch
(int num)
java/401. Binary Watch.java:102
Method
reconstructQueue
(int[][] people)
Algorithms/406. Queue Reconstruction by Height/Solution.java:2
Method
reconstructQueue
(int[][] people)
java/406. Queue Reconstruction by Height.java:2
Method
recoverTree
:type root: TreeNode :rtype: void Do not return anything, modify root in-place instead.
python/099. Recover Binary Search Tree.py:11
Method
recoverTree
:type root: TreeNode :rtype: void Do not return anything, modify root in-place instead.
Algorithms/099. Recover Binary Search Tree/Solution.py:11
Method
remove
Removes a value from the collection. Returns true if the collection contained the specified element.
Algorithms/381. Insert Delete GetRandom O(1) - Duplicates allowed/Solution.java:20
Method
remove
Removes a value from the collection. Returns true if the collection contained the specified element.
java/381. Insert Delete GetRandom O(1) - Duplicates allowed.java:20
Method
removeDuplicateLetters
(String s)
Algorithms/316. Remove Duplicate Letters/Solution.java:4
Method
removeDuplicateLetters
(String s)
java/316. Remove Duplicate Letters.java:4
Method
removeDuplicates
:type nums: List[int] :rtype: int
python/080. Remove Duplicates from Sorted Array II.py:4
Method
removeDuplicates
:type nums: List[int] :rtype: int
python/026. Remove Duplicates from Sorted Array.py:4
Method
removeDuplicates
:type nums: List[int] :rtype: int
Algorithms/080. Remove Duplicates from Sorted Array II/Solution.py:4
Method
removeDuplicates
(int[] nums)
Algorithms/080. Remove Duplicates from Sorted Array II/Solution.java:2
Method
removeDuplicates
:type nums: List[int] :rtype: int
Algorithms/026. Remove Duplicates from Sorted Array/Solution.py:4
Method
removeDuplicates
(int[] nums)
Algorithms/026. Remove Duplicates from Sorted Array/Solution.java:2
Method
removeDuplicates
(int[] nums)
java/026. Remove Duplicates from Sorted Array.java:2
Method
removeDuplicates
(int[] nums)
java/080. Remove Duplicates from Sorted Array II.java:2
Method
removeElement
:type nums: List[int] :type val: int :rtype: int
python/027. Remove Element.py:4
Method
removeElement
:type nums: List[int] :type val: int :rtype: int
Algorithms/027. Remove Element/Solution.py:4
Method
removeElement
(int[] nums, int val)
Algorithms/027. Remove Element/Solution.java:2
Method
removeElement
(int[] nums, int val)
java/027. Remove Element.java:2
Method
removeElements
:type head: ListNode :type val: int :rtype: ListNode
python/203. Remove Linked List Elements.py:10
Method
removeElements
:type head: ListNode :type val: int :rtype: ListNode
Algorithms/203. Remove Linked List Elements/Solution.py:10
Method
removeElements
(ListNode head,int val)
Algorithms/203. Remove Linked List Elements/Solution.java:10
Method
removeElements
(ListNode head,int val)
java/203. Remove Linked List Elements.java:10
Method
removeKdigits
(String num, int k)
Algorithms/402. Remove K Digits/Solution.java:2
Method
removeKdigits
(String num, int k)
java/402. Remove K Digits.java:2
Method
removeNthFromEnd
:type head: ListNode :type n: int :rtype: ListNode
python/019. Remove Nth Node From End of List.py:10
Method
removeNthFromEnd
:type head: ListNode :type n: int :rtype: ListNode
Algorithms/019. Remove Nth Node From End of List/Solution.py:10
Method
removeNthFromEnd
(ListNode head, int n)
Algorithms/019. Remove Nth Node From End of List/Solution.java:10
Method
removeNthFromEnd
(ListNode head, int n)
java/019. Remove Nth Node From End of List.java:10
Function
remove_nth_from_end
@param {ListNode} head @param {Integer} n @return {ListNode}
Algorithms/019. Remove Nth Node From End of List/Solution.rb:13
Function
remove_nth_from_end
@param {ListNode} head @param {Integer} n @return {ListNode}
ruby/019. Remove Nth Node From End of List.rb:13
← previous
next →
1,101–1,200 of 1,433, ranked by callers