MCPcopy Create free account

hub / github.com/corpsepiges/leetcode / functions

Functions1,433 in github.com/corpsepiges/leetcode

MethodreorderList
(ListNode head)
Algorithms/143. Reorder List/Solution.java:10
MethodreorderList
(ListNode head)
java/143. Reorder List.java:10
Methodreset
Resets the array to its original configuration and return it.
Algorithms/384. Shuffle an Array/Solution.java:8
Methodreset
Resets the array to its original configuration and return it.
java/384. Shuffle an Array.java:8
MethodrestoreIpAddresses
:type s: str :rtype: List[str]
python/093. Restore IP Addresses.py:4
MethodrestoreIpAddresses
:type s: str :rtype: List[str]
Algorithms/093. Restore IP Addresses/Solution.py:4
MethodrestoreIpAddresses
(String s)
Algorithms/093. Restore IP Addresses/Solution.java:2
MethodrestoreIpAddresses
(String s)
java/093. Restore IP Addresses.java:2
Functionreverse
@param {Integer} x @return {Integer}
Algorithms/007. Reverse Integer/Solution.rb:3
Functionreverse
@param {Integer} x @return {Integer}
ruby/007. Reverse Integer.rb:3
Methodreverse
(int x)
Algorithms/007. Reverse Integer/Solution.java:2
MethodreverseBetween
(ListNode head, int m, int n)
Algorithms/092. Reverse Linked List II/Solution.java:10
MethodreverseBetween
(ListNode head, int m, int n)
java/092. Reverse Linked List II.java:10
MethodreverseBits
:type n: int :rtype: int
python/190. Reverse Bits.py:4
MethodreverseBits
:type n: int :rtype: int
Algorithms/190. Reverse Bits/Solution.py:4
MethodreverseBits
(int n)
Algorithms/190. Reverse Bits/Solution.java:3
MethodreverseBits
(int n)
java/190. Reverse Bits.java:3
MethodreverseKGroup
(ListNode head, int k)
Algorithms/025. Reverse Nodes in k-Group/Solution.java:10
MethodreverseKGroup
(ListNode head, int k)
java/025. Reverse Nodes in k-Group.java:10
MethodreverseList
:type head: ListNode :rtype: ListNode
python/206. Reverse Linked List.py:10
MethodreverseList
:type head: ListNode :rtype: ListNode
Algorithms/206. Reverse Linked List/Solution.py:10
MethodreverseList
(ListNode head)
Algorithms/206. Reverse Linked List/Solution.java:10
MethodreverseList
(ListNode head)
java/206. Reverse Linked List.java:10
MethodreverseString
:type s: str :rtype: str
python/344. Reverse String.py:4
MethodreverseString
:type s: str :rtype: str
Algorithms/344. Reverse String/Solution.py:4
MethodreverseString
(String s)
Algorithms/344. Reverse String/Solution.java:2
MethodreverseString
(String s)
java/344. Reverse String.java:2
MethodreverseVowels
:type s: str :rtype: str
python/345. Reverse Vowels of a String.py:4
MethodreverseVowels
:type s: str :rtype: str
Algorithms/345. Reverse Vowels of a String/Solution.py:4
MethodreverseVowels
(String s)
Algorithms/345. Reverse Vowels of a String/Solution.java:2
MethodreverseVowels
(String s)
java/345. Reverse Vowels of a String.java:2
MethodreverseWords
(String s)
Algorithms/151. Reverse Words in a String/Solution.java:2
MethodreverseWords
(String s)
java/151. Reverse Words in a String.java:2
MethodrightSideView
:type root: TreeNode :rtype: List[int]
python/199. Binary Tree Right Side View.py:11
MethodrightSideView
:type root: TreeNode :rtype: List[int]
Algorithms/199. Binary Tree Right Side View/Solution.py:11
MethodrightSideView
(TreeNode root)
Algorithms/199. Binary Tree Right Side View/Solution.java:11
MethodrightSideView
(TreeNode root)
java/199. Binary Tree Right Side View.java:11
Methodrob
:type nums: List[int] :rtype: int
python/198. House Robber.py:5
Methodrob
:type nums: List[int] :rtype: int
python/213. House Robber II.py:4
Methodrob
:type nums: List[int] :rtype: int
Algorithms/213. House Robber II/Solution.py:4
Methodrob
(int[] nums)
Algorithms/213. House Robber II/Solution.java:2
Methodrob
:type nums: List[int] :rtype: int
Algorithms/198. House Robber/Solution.py:5
Methodrob
(int[] nums)
Algorithms/198. House Robber/Solution.java:2
Methodrob
(int[] nums)
java/213. House Robber II.java:2
Methodrob
(int[] nums)
java/198. House Robber.java:2
MethodromanToInt
:type s: str :rtype: int
python/013. Roman to Integer.py:5
MethodromanToInt
:type s: str :rtype: int
Algorithms/013. Roman to Integer/Solution.py:5
MethodromanToInt
(String s)
Algorithms/013. Roman to Integer/Solution.java:2
MethodromanToInt
(String s)
java/013. Roman to Integer.java:2
Methodrotate
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
python/048. Rotate Image.py:4
Methodrotate
:type nums: List[int] :type k: int :rtype: void Do not return anything, modify nums in-place instead.
python/189. Rotate Array.py:4
Methodrotate
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
Algorithms/048. Rotate Image/Solution.py:4
Methodrotate
(int[][] matrix)
Algorithms/048. Rotate Image/Solution.java:2
Methodrotate
: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
Methodrotate
(int[] nums, int k)
Algorithms/189. Rotate Array/Solution.java:2
Methodrotate
(int[][] matrix)
java/048. Rotate Image.java:2
Methodrotate
(int[] nums, int k)
java/189. Rotate Array.java:2
MethodrotateRight
:type head: ListNode :type k: int :rtype: ListNode
python/061. Rotate List.py:10
MethodrotateRight
:type head: ListNode :type k: int :rtype: ListNode
Algorithms/061. Rotate List/Solution.py:10
MethodrotateRight
(ListNode head, int k)
Algorithms/061. Rotate List/Solution.java:10
MethodrotateRight
(ListNode head, int k)
java/061. Rotate List.java:10
Methodsearch
(int[] nums, int target)
Algorithms/033. Search in Rotated Sorted Array/Solution.java:2
Methodsearch
(int[] nums, int target)
Algorithms/081. Search in Rotated Sorted Array II/Solution.java:2
Methodsearch
(int[] nums, int target)
java/081. Search in Rotated Sorted Array II.java:2
Methodsearch
(int[] nums, int target)
java/033. Search in Rotated Sorted Array.java:2
MethodsearchInsert
:type nums: List[int] :type target: int :rtype: int
python/035. Search Insert Position.py:4
MethodsearchInsert
:type nums: List[int] :type target: int :rtype: int
Algorithms/035. Search Insert Position/Solution.py:4
MethodsearchInsert
(int[] nums, int target)
Algorithms/035. Search Insert Position/Solution.java:2
MethodsearchInsert
(int[] nums, int target)
java/035. Search Insert Position.java:2
MethodsearchMatrix
:type matrix: List[List[int]] :type target: int :rtype: bool
python/074. Search a 2D Matrix.py:4
MethodsearchMatrix
:type matrix: List[List[int]] :type target: int :rtype: bool
Algorithms/074. Search a 2D Matrix/Solution.py:4
MethodsearchMatrix
(int[][] matrix, int target)
Algorithms/074. Search a 2D Matrix/Solution.java:2
MethodsearchMatrix
(int[][] matrix, int target)
Algorithms/240. Search a 2D Matrix II/Solution.java:2
MethodsearchMatrix
(int[][] matrix, int target)
java/074. Search a 2D Matrix.java:2
MethodsearchMatrix
(int[][] matrix, int target)
java/240. Search a 2D Matrix II.java:2
MethodsearchRange
:type nums: List[int] :type target: int :rtype: List[int]
python/034. Search for a Range.py:4
MethodsearchRange
:type nums: List[int] :type target: int :rtype: List[int]
Algorithms/034. Search for a Range/Solution.py:4
MethodsearchRange
(int[] nums, int target)
Algorithms/034. Search for a Range/Solution.java:2
MethodsearchRange
(int[] nums, int target)
java/034. Search for a Range.java:2
Methodserialize
(TreeNode root)
Algorithms/297. Serialize and Deserialize Binary Tree/Solution.java:13
Methodserialize
(TreeNode root)
java/297. Serialize and Deserialize Binary Tree.java:13
MethodsetZeroes
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
python/073. Set Matrix Zeroes.py:4
MethodsetZeroes
:type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead.
Algorithms/073. Set Matrix Zeroes/Solution.py:4
MethodsetZeroes
(int[][] matrix)
Algorithms/073. Set Matrix Zeroes/Solution.java:2
MethodsetZeroes
(int[][] matrix)
java/073. Set Matrix Zeroes.java:2
Methodshuffle
Returns a random shuffling of the array.
Algorithms/384. Shuffle an Array/Solution.java:13
Methodshuffle
Returns a random shuffling of the array.
java/384. Shuffle an Array.java:13
MethodsingleNumber
:type nums: List[int] :rtype: int
python/136. Single Number.py:4
MethodsingleNumber
:type nums: List[int] :rtype: List[int]
python/260. Single Number III.py:4
MethodsingleNumber
:type nums: List[int] :rtype: int
Algorithms/136. Single Number/Solution.py:4
MethodsingleNumber
(int[] nums)
Algorithms/136. Single Number/Solution.java:2
MethodsingleNumber
(int[] nums)
Algorithms/137. Single Number II/Solution.java:2
MethodsingleNumber
:type nums: List[int] :rtype: List[int]
Algorithms/260. Single Number III/Solution.py:4
MethodsingleNumber
(int[] nums)
Algorithms/260. Single Number III/Solution.java:2
MethodsingleNumber
(int[] nums)
java/136. Single Number.java:2
MethodsingleNumber
(int[] nums)
java/137. Single Number II.java:2
MethodsingleNumber
(int[] nums)
java/260. Single Number III.java:2
Methodsolve
(char[][] board)
Algorithms/130. Surrounded Regions/Solution.java:2
Methodsolve
(char[][] board)
java/130. Surrounded Regions.java:2
MethodsolveNQueens
:type n: int :rtype: List[List[str]]
python/051. N-Queens.py:4
← previousnext →1,201–1,300 of 1,433, ranked by callers