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
solveNQueens
:type n: int :rtype: List[List[str]]
Algorithms/051. N-Queens/Solution.py:4
Method
solveNQueens
(int n)
Algorithms/051. N-Queens/Solution.java:2
Method
solveNQueens
(int n)
java/051. N-Queens.java:2
Method
solveSudoku
(char[][] board)
Algorithms/037. Sudoku Solver/Solution.java:2
Method
solveSudoku
(char[][] board)
java/037. Sudoku Solver.java:2
Method
sortColors
:type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead.
python/075. Sort Colors.py:4
Method
sortColors
:type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead.
Algorithms/075. Sort Colors/Solution.py:4
Method
sortColors
(int[] nums)
Algorithms/075. Sort Colors/Solution.java:2
Method
sortColors
(int[] nums)
java/075. Sort Colors.java:2
Method
sortList
:type head: ListNode :rtype: ListNode
python/148. Sort List.py:10
Method
sortList
:type head: ListNode :rtype: ListNode
Algorithms/148. Sort List/Solution.py:10
Method
sortList
(ListNode head)
Algorithms/148. Sort List/Solution.java:10
Method
sortList
(ListNode head)
java/148. Sort List.java:10
Method
sortedArrayToBST
:type nums: List[int] :rtype: TreeNode
python/108. Convert Sorted Array to Binary Search Tree.py:11
Method
sortedArrayToBST
:type nums: List[int] :rtype: TreeNode
Algorithms/108. Convert Sorted Array to Binary Search Tree/Solution.py:11
Method
sortedArrayToBST
(int[] nums)
Algorithms/108. Convert Sorted Array to Binary Search Tree/Solution.java:11
Method
sortedArrayToBST
(int[] nums)
java/108. Convert Sorted Array to Binary Search Tree.java:11
Method
sortedListToBST
:type head: ListNode :rtype: TreeNode
python/109. Convert Sorted List to Binary Search Tree.py:17
Method
sortedListToBST
:type head: ListNode :rtype: TreeNode
Algorithms/109. Convert Sorted List to Binary Search Tree/Solution.py:17
Method
sortedListToBST
(ListNode head)
Algorithms/109. Convert Sorted List to Binary Search Tree/Solution.java:19
Method
sortedListToBST
(ListNode head)
java/109. Convert Sorted List to Binary Search Tree.java:19
Method
spiralOrder
:type matrix: List[List[int]] :rtype: List[int]
python/054. Spiral Matrix.py:4
Method
spiralOrder
:type matrix: List[List[int]] :rtype: List[int]
Algorithms/054. Spiral Matrix/Solution.py:4
Method
spiralOrder
(int[][] matrix)
Algorithms/054. Spiral Matrix/Solution.java:2
Method
spiralOrder
(int[][] matrix)
java/054. Spiral Matrix.java:2
Method
startsWith
(String prefix)
Algorithms/208. Implement Trie (Prefix Tree)/Solution.java:62
Method
startsWith
(String prefix)
java/208. Implement Trie (Prefix Tree).java:62
Method
strStr
(String haystack, String needle)
Algorithms/028. Implement strStr()/Solution.java:2
Method
strStr
(String haystack, String needle)
java/028. Implement strStr().java:2
Method
subsets
:type nums: List[int] :rtype: List[List[int]]
python/078. Subsets.py:4
Method
subsets
:type nums: List[int] :rtype: List[List[int]]
Algorithms/078. Subsets/Solution.py:4
Method
subsets
(int[] nums)
Algorithms/078. Subsets/Solution.java:2
Method
subsets
(int[] nums)
java/078. Subsets.java:2
Method
subsetsWithDup
:type nums: List[int] :rtype: List[List[int]]
python/090. Subsets II.py:4
Method
subsetsWithDup
:type nums: List[int] :rtype: List[List[int]]
Algorithms/090. Subsets II/Solution.py:4
Method
subsetsWithDup
(int[] nums)
Algorithms/090. Subsets II/Solution.java:2
Method
subsetsWithDup
(int[] nums)
java/090. Subsets II.java:2
Method
sumNumbers
:type root: TreeNode :rtype: int
python/129. Sum Root to Leaf Numbers.py:11
Method
sumNumbers
:type root: TreeNode :rtype: int
Algorithms/129. Sum Root to Leaf Numbers/Solution.py:11
Method
sumNumbers
(TreeNode root)
Algorithms/129. Sum Root to Leaf Numbers/Solution.java:11
Method
sumNumbers
(TreeNode root)
java/129. Sum Root to Leaf Numbers.java:11
Method
sumOfLeftLeaves
(TreeNode root)
Algorithms/404. Sum of Left Leaves/Solution.java:11
Method
sumOfLeftLeaves
(TreeNode root)
java/404. Sum of Left Leaves.java:11
Method
sumRange
sum of elements nums[i..j], inclusive. :type i: int :type j: int :rtype: int
python/303. Range Sum Query - Immutable.py:13
Method
sumRange
sum of elements nums[i..j], inclusive. :type i: int :type j: int :rtype: int
Algorithms/303. Range Sum Query - Immutable/Solution.py:13
Method
sumRange
(int i, int j)
Algorithms/303. Range Sum Query - Immutable/Solution.java:7
Method
sumRange
(int i, int j)
Algorithms/307. Range Sum Query - Mutable/Solution.java:49
Method
sumRange
(int i, int j)
java/303. Range Sum Query - Immutable.java:7
Method
sumRange
(int i, int j)
java/307. Range Sum Query - Mutable.java:49
Method
sumRegion
sum of elements matrix[(row1,col1)..(row2,col2)], inclusive. :type row1: int :type col1: int :type row2: int
python/304. Range Sum Query 2D - Immutable.py:16
Method
sumRegion
sum of elements matrix[(row1,col1)..(row2,col2)], inclusive. :type row1: int :type col1: int :type row2: int
Algorithms/304. Range Sum Query 2D - Immutable/Solution.py:16
Method
summaryRanges
:type nums: List[int] :rtype: List[str]
python/228. Summary Ranges.py:4
Method
summaryRanges
:type nums: List[int] :rtype: List[str]
Algorithms/228. Summary Ranges/Solution.py:4
Method
summaryRanges
(int[] nums)
Algorithms/228. Summary Ranges/Solution.java:2
Method
summaryRanges
(int[] nums)
java/228. Summary Ranges.java:2
Method
superPow
(int a, int[] b)
Algorithms/372. Super Pow/Solution.java:2
Method
superPow
(int a, int[] b)
java/372. Super Pow.java:2
Method
swapPairs
:type head: ListNode :rtype: ListNode
python/024. Swap Nodes in Pairs.py:10
Method
swapPairs
:type head: ListNode :rtype: ListNode
Algorithms/024. Swap Nodes in Pairs/Solution.py:10
Method
swapPairs
(ListNode head)
Algorithms/024. Swap Nodes in Pairs/Solution.java:10
Method
swapPairs
(ListNode head)
java/024. Swap Nodes in Pairs.java:10
Function
threeSum
(nums)
Algorithms/015. 3Sum/Solution.js:5
Function
threeSum
(nums)
js/015. 3Sum.js:5
Method
threeSum
(int[] nums)
Algorithms/015. 3Sum/Solution.java:3
Method
threeSum
(int[] nums)
java/015. 3Sum.java:3
Method
threeSumClosest
(int[] nums, int target)
Algorithms/016. 3Sum Closest/Solution.java:3
Method
threeSumClosest
(int[] nums, int target)
java/016. 3Sum Closest.java:3
Function
three_sum
@param {Integer[]} nums @return {Integer[][]}
Algorithms/015. 3Sum/Solution.rb:3
Function
three_sum
@param {Integer[]} nums @return {Integer[][]}
ruby/015. 3Sum.rb:3
Method
titleToNumber
:type s: str :rtype: int
python/171. Excel Sheet Column Number.py:4
Method
titleToNumber
:type s: str :rtype: int
Algorithms/171. Excel Sheet Column Number/Solution.py:4
Method
titleToNumber
(String s)
Algorithms/171. Excel Sheet Column Number/Solution.java:2
Method
titleToNumber
(String s)
java/171. Excel Sheet Column Number.java:2
Method
toHex
(int num)
Algorithms/405. Convert a Number to Hexadecimal/Solution.java:2
Method
toHex
(int num)
java/405. Convert a Number to Hexadecimal.java:2
Method
top
()
Algorithms/155. Min Stack/Solution.java:11
Method
top
()
Algorithms/225. Implement Stack using Queues/Solution.java:14
Method
top
()
java/155. Min Stack.java:11
Method
top
()
java/225. Implement Stack using Queues.java:14
Method
topKFrequent
:type nums: List[int] :type k: int :rtype: List[int]
python/347. Top K Frequent Elements.py:6
Method
topKFrequent
:type nums: List[int] :type k: int :rtype: List[int]
Algorithms/347. Top K Frequent Elements/Solution.py:6
Method
topKFrequent
(int[] nums, int k)
Algorithms/347. Top K Frequent Elements/Solution.java:2
Method
topKFrequent
(int[] nums, int k)
java/347. Top K Frequent Elements.java:2
Method
totalNQueens
:type n: int :rtype: int
python/052. N-Queens II.py:4
Method
totalNQueens
:type n: int :rtype: int
Algorithms/052. N-Queens II/Solution.py:4
Method
totalNQueens
(int n)
Algorithms/052. N-Queens II/Solution.java:2
Method
totalNQueens
(int n)
java/052. N-Queens II.java:2
Method
trailingZeroes
(int n)
Algorithms/172. Factorial Trailing Zeroes/Solution.java:2
Method
trailingZeroes
(int n)
java/172. Factorial Trailing Zeroes.java:2
Method
trap
(int[] height)
Algorithms/042. Trapping Rain Water/Solution.java:2
Method
trap
(int[] height)
java/042. Trapping Rain Water.java:2
Function
twoSum
(nums, target)
Algorithms/001. Two Sum/Solution.js:6
Function
twoSum
(nums, target)
js/001. Two Sum.js:6
Method
twoSum
(self, nums, target)
python/001. Two Sum.py:4
Method
twoSum
(int[] numbers, int target)
Algorithms/167. Two Sum II - Input array is sorted/Solution.java:2
Method
twoSum
(self, nums, target)
Algorithms/001. Two Sum/Solution.py:4
Method
twoSum
(int[] numbers, int target)
Algorithms/001. Two Sum/Solution.java:2
Method
twoSum
(int[] numbers, int target)
java/167. Two Sum II - Input array is sorted.java:2
Method
twoSum
(int[] numbers, int target)
java/001. Two Sum.java:2
Function
two_sum
@param {Integer[]} nums @param {Integer} target @return {Integer[]}
Algorithms/001. Two Sum/Solution.rb:4
← previous
next →
1,301–1,400 of 1,433, ranked by callers