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
reorderList
(ListNode head)
Algorithms/143. Reorder List/Solution.java:10
Method
reorderList
(ListNode head)
java/143. Reorder List.java:10
Method
reset
Resets the array to its original configuration and return it.
Algorithms/384. Shuffle an Array/Solution.java:8
Method
reset
Resets the array to its original configuration and return it.
java/384. Shuffle an Array.java:8
Method
restoreIpAddresses
:type s: str :rtype: List[str]
python/093. Restore IP Addresses.py:4
Method
restoreIpAddresses
:type s: str :rtype: List[str]
Algorithms/093. Restore IP Addresses/Solution.py:4
Method
restoreIpAddresses
(String s)
Algorithms/093. Restore IP Addresses/Solution.java:2
Method
restoreIpAddresses
(String s)
java/093. Restore IP Addresses.java:2
Function
reverse
@param {Integer} x @return {Integer}
Algorithms/007. Reverse Integer/Solution.rb:3
Function
reverse
@param {Integer} x @return {Integer}
ruby/007. Reverse Integer.rb:3
Method
reverse
(int x)
Algorithms/007. Reverse Integer/Solution.java:2
Method
reverseBetween
(ListNode head, int m, int n)
Algorithms/092. Reverse Linked List II/Solution.java:10
Method
reverseBetween
(ListNode head, int m, int n)
java/092. Reverse Linked List II.java:10
Method
reverseBits
:type n: int :rtype: int
python/190. Reverse Bits.py:4
Method
reverseBits
:type n: int :rtype: int
Algorithms/190. Reverse Bits/Solution.py:4
Method
reverseBits
(int n)
Algorithms/190. Reverse Bits/Solution.java:3
Method
reverseBits
(int n)
java/190. Reverse Bits.java:3
Method
reverseKGroup
(ListNode head, int k)
Algorithms/025. Reverse Nodes in k-Group/Solution.java:10
Method
reverseKGroup
(ListNode head, int k)
java/025. Reverse Nodes in k-Group.java:10
Method
reverseList
:type head: ListNode :rtype: ListNode
python/206. Reverse Linked List.py:10
Method
reverseList
:type head: ListNode :rtype: ListNode
Algorithms/206. Reverse Linked List/Solution.py:10
Method
reverseList
(ListNode head)
Algorithms/206. Reverse Linked List/Solution.java:10
Method
reverseList
(ListNode head)
java/206. Reverse Linked List.java:10
Method
reverseString
:type s: str :rtype: str
python/344. Reverse String.py:4
Method
reverseString
:type s: str :rtype: str
Algorithms/344. Reverse String/Solution.py:4
Method
reverseString
(String s)
Algorithms/344. Reverse String/Solution.java:2
Method
reverseString
(String s)
java/344. Reverse String.java:2
Method
reverseVowels
:type s: str :rtype: str
python/345. Reverse Vowels of a String.py:4
Method
reverseVowels
:type s: str :rtype: str
Algorithms/345. Reverse Vowels of a String/Solution.py:4
Method
reverseVowels
(String s)
Algorithms/345. Reverse Vowels of a String/Solution.java:2
Method
reverseVowels
(String s)
java/345. Reverse Vowels of a String.java:2
Method
reverseWords
(String s)
Algorithms/151. Reverse Words in a String/Solution.java:2
Method
reverseWords
(String s)
java/151. Reverse Words in a String.java:2
Method
rightSideView
:type root: TreeNode :rtype: List[int]
python/199. Binary Tree Right Side View.py:11
Method
rightSideView
:type root: TreeNode :rtype: List[int]
Algorithms/199. Binary Tree Right Side View/Solution.py:11
Method
rightSideView
(TreeNode root)
Algorithms/199. Binary Tree Right Side View/Solution.java:11
Method
rightSideView
(TreeNode root)
java/199. Binary Tree Right Side View.java:11
Method
rob
:type nums: List[int] :rtype: int
python/198. House Robber.py:5
Method
rob
:type nums: List[int] :rtype: int
python/213. House Robber II.py:4
Method
rob
:type nums: List[int] :rtype: int
Algorithms/213. House Robber II/Solution.py:4
Method
rob
(int[] nums)
Algorithms/213. House Robber II/Solution.java:2
Method
rob
:type nums: List[int] :rtype: int
Algorithms/198. House Robber/Solution.py:5
Method
rob
(int[] nums)
Algorithms/198. House Robber/Solution.java:2
Method
rob
(int[] nums)
java/213. House Robber II.java:2
Method
rob
(int[] nums)
java/198. House Robber.java:2
Method
romanToInt
:type s: str :rtype: int
python/013. Roman to Integer.py:5
Method
romanToInt
:type s: str :rtype: int
Algorithms/013. Roman to Integer/Solution.py:5
Method
romanToInt
(String s)
Algorithms/013. Roman to Integer/Solution.java:2
Method
romanToInt
(String s)
java/013. Roman to Integer.java:2
Method
rotate
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
python/048. Rotate Image.py:4
Method
rotate
:type nums: List[int] :type k: int :rtype: void Do not return anything, modify nums in-place instead.
python/189. Rotate Array.py:4
Method
rotate
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
Algorithms/048. Rotate Image/Solution.py:4
Method
rotate
(int[][] matrix)
Algorithms/048. Rotate Image/Solution.java:2
Method
rotate
:type nums: List[int] :type k: int :rtype: void Do not return anything, modify nums in-place instead.
Algorithms/189. Rotate Array/Solution.py:4
Method
rotate
(int[] nums, int k)
Algorithms/189. Rotate Array/Solution.java:2
Method
rotate
(int[][] matrix)
java/048. Rotate Image.java:2
Method
rotate
(int[] nums, int k)
java/189. Rotate Array.java:2
Method
rotateRight
:type head: ListNode :type k: int :rtype: ListNode
python/061. Rotate List.py:10
Method
rotateRight
:type head: ListNode :type k: int :rtype: ListNode
Algorithms/061. Rotate List/Solution.py:10
Method
rotateRight
(ListNode head, int k)
Algorithms/061. Rotate List/Solution.java:10
Method
rotateRight
(ListNode head, int k)
java/061. Rotate List.java:10
Method
search
(int[] nums, int target)
Algorithms/033. Search in Rotated Sorted Array/Solution.java:2
Method
search
(int[] nums, int target)
Algorithms/081. Search in Rotated Sorted Array II/Solution.java:2
Method
search
(int[] nums, int target)
java/081. Search in Rotated Sorted Array II.java:2
Method
search
(int[] nums, int target)
java/033. Search in Rotated Sorted Array.java:2
Method
searchInsert
:type nums: List[int] :type target: int :rtype: int
python/035. Search Insert Position.py:4
Method
searchInsert
:type nums: List[int] :type target: int :rtype: int
Algorithms/035. Search Insert Position/Solution.py:4
Method
searchInsert
(int[] nums, int target)
Algorithms/035. Search Insert Position/Solution.java:2
Method
searchInsert
(int[] nums, int target)
java/035. Search Insert Position.java:2
Method
searchMatrix
:type matrix: List[List[int]] :type target: int :rtype: bool
python/074. Search a 2D Matrix.py:4
Method
searchMatrix
:type matrix: List[List[int]] :type target: int :rtype: bool
Algorithms/074. Search a 2D Matrix/Solution.py:4
Method
searchMatrix
(int[][] matrix, int target)
Algorithms/074. Search a 2D Matrix/Solution.java:2
Method
searchMatrix
(int[][] matrix, int target)
Algorithms/240. Search a 2D Matrix II/Solution.java:2
Method
searchMatrix
(int[][] matrix, int target)
java/074. Search a 2D Matrix.java:2
Method
searchMatrix
(int[][] matrix, int target)
java/240. Search a 2D Matrix II.java:2
Method
searchRange
:type nums: List[int] :type target: int :rtype: List[int]
python/034. Search for a Range.py:4
Method
searchRange
:type nums: List[int] :type target: int :rtype: List[int]
Algorithms/034. Search for a Range/Solution.py:4
Method
searchRange
(int[] nums, int target)
Algorithms/034. Search for a Range/Solution.java:2
Method
searchRange
(int[] nums, int target)
java/034. Search for a Range.java:2
Method
serialize
(TreeNode root)
Algorithms/297. Serialize and Deserialize Binary Tree/Solution.java:13
Method
serialize
(TreeNode root)
java/297. Serialize and Deserialize Binary Tree.java:13
Method
setZeroes
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
python/073. Set Matrix Zeroes.py:4
Method
setZeroes
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
Algorithms/073. Set Matrix Zeroes/Solution.py:4
Method
setZeroes
(int[][] matrix)
Algorithms/073. Set Matrix Zeroes/Solution.java:2
Method
setZeroes
(int[][] matrix)
java/073. Set Matrix Zeroes.java:2
Method
shuffle
Returns a random shuffling of the array.
Algorithms/384. Shuffle an Array/Solution.java:13
Method
shuffle
Returns a random shuffling of the array.
java/384. Shuffle an Array.java:13
Method
singleNumber
:type nums: List[int] :rtype: int
python/136. Single Number.py:4
Method
singleNumber
:type nums: List[int] :rtype: List[int]
python/260. Single Number III.py:4
Method
singleNumber
:type nums: List[int] :rtype: int
Algorithms/136. Single Number/Solution.py:4
Method
singleNumber
(int[] nums)
Algorithms/136. Single Number/Solution.java:2
Method
singleNumber
(int[] nums)
Algorithms/137. Single Number II/Solution.java:2
Method
singleNumber
:type nums: List[int] :rtype: List[int]
Algorithms/260. Single Number III/Solution.py:4
Method
singleNumber
(int[] nums)
Algorithms/260. Single Number III/Solution.java:2
Method
singleNumber
(int[] nums)
java/136. Single Number.java:2
Method
singleNumber
(int[] nums)
java/137. Single Number II.java:2
Method
singleNumber
(int[] nums)
java/260. Single Number III.java:2
Method
solve
(char[][] board)
Algorithms/130. Surrounded Regions/Solution.java:2
Method
solve
(char[][] board)
java/130. Surrounded Regions.java:2
Method
solveNQueens
:type n: int :rtype: List[List[str]]
python/051. N-Queens.py:4
← previous
next →
1,201–1,300 of 1,433, ranked by callers