MCPcopy Create free account

hub / github.com/corpsepiges/leetcode / functions

Functions1,433 in github.com/corpsepiges/leetcode

MethodcountPrimes
(int n)
java/204. Count Primes.java:2
MethodcountSmaller
:type nums: List[int] :rtype: List[int]
python/315. Count of Smaller Numbers After Self.py:4
MethodcountSmaller
:type nums: List[int] :rtype: List[int]
Algorithms/315. Count of Smaller Numbers After Self/Solution.py:4
MethodcountSmaller
(int[] nums)
Algorithms/315. Count of Smaller Numbers After Self/Solution.java:2
MethodcountSmaller
(int[] nums)
java/315. Count of Smaller Numbers After Self.java:2
MethoddecodeString
(String s)
Algorithms/394. Decode String/Solution.java:2
MethoddecodeString
(String s)
java/394. Decode String.java:2
MethoddeleteDuplicates
:type head: ListNode :rtype: ListNode
python/083. Remove Duplicates from Sorted List.py:10
MethoddeleteDuplicates
:type head: ListNode :rtype: ListNode
python/082. Remove Duplicates from Sorted List II.py:10
MethoddeleteDuplicates
:type head: ListNode :rtype: ListNode
Algorithms/083. Remove Duplicates from Sorted List/Solution.py:10
MethoddeleteDuplicates
(ListNode head)
Algorithms/083. Remove Duplicates from Sorted List/Solution.java:10
MethoddeleteDuplicates
:type head: ListNode :rtype: ListNode
Algorithms/082. Remove Duplicates from Sorted List II/Solution.py:10
MethoddeleteDuplicates
(ListNode head)
Algorithms/082. Remove Duplicates from Sorted List II/Solution.java:10
MethoddeleteDuplicates
(ListNode head)
java/083. Remove Duplicates from Sorted List.java:10
MethoddeleteDuplicates
(ListNode head)
java/082. Remove Duplicates from Sorted List II.java:10
MethoddeleteNode
:type node: ListNode :rtype: void Do not return anything, modify node in-place instead.
python/237. Delete Node in a Linked List.py:10
MethoddeleteNode
: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
MethoddeleteNode
(ListNode node)
Algorithms/237. Delete Node in a Linked List/Solution.java:10
MethoddeleteNode
(ListNode node)
java/237. Delete Node in a Linked List.java:10
Methoddeserialize
(String s)
Algorithms/385. Mini Parser/Solution.java:30
Methoddeserialize
(String data)
Algorithms/297. Serialize and Deserialize Binary Tree/Solution.java:37
Methoddeserialize
(String data)
java/297. Serialize and Deserialize Binary Tree.java:37
Methoddeserialize
(String s)
java/385. Mini Parser.java:30
MethoddetectCycle
:type head: ListNode :rtype: ListNode
python/142. Linked List Cycle II.py:10
MethoddetectCycle
:type head: ListNode :rtype: ListNode
Algorithms/142. Linked List Cycle II/Solution.py:10
MethoddetectCycle
(ListNode head)
Algorithms/142. Linked List Cycle II/Solution.java:13
MethoddetectCycle
(ListNode head)
java/142. Linked List Cycle II.java:13
Methoddivide
(int dividend, int divisor)
Algorithms/029. Divide Two Integers/Solution.java:2
Methoddivide
(int dividend, int divisor)
java/029. Divide Two Integers.java:2
Methodempty
()
Algorithms/225. Implement Stack using Queues/Solution.java:19
Methodempty
()
java/225. Implement Stack using Queues.java:19
MethodevalRPN
(String[] tokens)
Algorithms/150. Evaluate Reverse Polish Notation/Solution.java:2
MethodevalRPN
(String[] tokens)
java/150. Evaluate Reverse Polish Notation.java:2
Methodexist
(char[][] board, String word)
Algorithms/079. Word Search/Solution.java:2
Methodexist
(char[][] board, String word)
java/079. Word Search.java:2
MethodfindDuplicate
:type nums: List[int] :rtype: int
python/287. Find the Duplicate Number.py:4
MethodfindDuplicate
:type nums: List[int] :rtype: int
Algorithms/287. Find the Duplicate Number/Solution.py:4
MethodfindDuplicate
(int[] nums)
Algorithms/287. Find the Duplicate Number/Solution.java:2
MethodfindDuplicate
(int[] nums)
java/287. Find the Duplicate Number.java:2
MethodfindKthLargest
:type nums: List[int] :type k: int :rtype: int
python/215. Kth Largest Element in an Array.py:4
MethodfindKthLargest
:type nums: List[int] :type k: int :rtype: int
Algorithms/215. Kth Largest Element in an Array/Solution.py:4
MethodfindKthLargest
(int[] nums, int k)
Algorithms/215. Kth Largest Element in an Array/Solution.java:2
MethodfindKthLargest
(int[] nums, int k)
java/215. Kth Largest Element in an Array.java:2
MethodfindMedian
()
Algorithms/295. Find Median from Data Stream/Solution.java:34
MethodfindMedian
()
java/295. Find Median from Data Stream.java:34
MethodfindMin
(int[] nums)
Algorithms/153. Find Minimum in Rotated Sorted Array/Solution.java:2
MethodfindMin
(int[] nums)
Algorithms/154. Find Minimum in Rotated Sorted Array II/Solution.java:2
MethodfindMin
(int[] nums)
java/154. Find Minimum in Rotated Sorted Array II.java:2
MethodfindMin
(int[] nums)
java/153. Find Minimum in Rotated Sorted Array.java:2
MethodfindNthDigit
(int n)
Algorithms/400. Nth Digit/Solution.java:2
MethodfindNthDigit
(int n)
java/400. Nth Digit.java:2
MethodfindPeakElement
(int[] nums)
Algorithms/162. Find Peak Element/Solution.java:2
MethodfindPeakElement
(int[] nums)
java/162. Find Peak Element.java:2
MethodfindRepeatedDnaSequences
(String s)
Algorithms/187. Repeated DNA Sequences/Solution.java:2
MethodfindRepeatedDnaSequences
(String s)
java/187. Repeated DNA Sequences.java:2
MethodfindTheDifference
(String s, String t)
Algorithms/389. Find the Difference/Solution.java:2
MethodfindTheDifference
(String s, String t)
java/389. Find the Difference.java:2
MethodfindWords
(char[][] board, String[] words)
Algorithms/212. Word Search II/Solution.java:4
MethodfindWords
(char[][] board, String[] words)
java/212. Word Search II.java:4
MethodfirstBadVersion
:type n: int :rtype: int
python/278. First Bad Version.py:9
MethodfirstBadVersion
:type n: int :rtype: int
Algorithms/278. First Bad Version/Solution.py:9
MethodfirstBadVersion
(int n)
Algorithms/278. First Bad Version/Solution.java:5
MethodfirstBadVersion
(int n)
java/278. First Bad Version.java:5
MethodfirstMissingPositive
:type nums: List[int] :rtype: int
python/041. First Missing Positive.py:4
MethodfirstMissingPositive
:type nums: List[int] :rtype: int
Algorithms/041. First Missing Positive/Solution.py:4
MethodfirstMissingPositive
(int[] nums)
Algorithms/041. First Missing Positive/Solution.java:2
MethodfirstMissingPositive
(int[] nums)
java/041. First Missing Positive.java:2
MethodfirstUniqChar
(String s)
Algorithms/387. First Unique Character in a String/Solution.java:2
MethodfirstUniqChar
(String s)
java/387. First Unique Character in a String.java:2
Methodflatten
:type root: TreeNode :rtype: void Do not return anything, modify root in-place instead.
python/114. Flatten Binary Tree to Linked List.py:11
Methodflatten
: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
Methodflatten
(TreeNode root)
Algorithms/114. Flatten Binary Tree to Linked List/Solution.java:12
Methodflatten
(TreeNode root)
java/114. Flatten Binary Tree to Linked List.java:12
Methodfollow
Follower follows a followee. If the operation is invalid, it should be a no-op.
Algorithms/355. Design Twitter/Solution.java:43
Methodfollow
Follower follows a followee. If the operation is invalid, it should be a no-op.
java/355. Design Twitter.java:43
MethodfourSum
(int[] nums, int target)
Algorithms/018. 4Sum/Solution.java:3
MethodfourSum
(int[] nums, int target)
java/018. 4Sum.java:3
MethodfractionToDecimal
(int numerator, int denominator)
Algorithms/166. Fraction to Recurring Decimal/Solution.java:2
MethodfractionToDecimal
(int numerator, int denominator)
java/166. Fraction to Recurring Decimal.java:2
MethodfullJustify
:type words: List[str] :type maxWidth: int :rtype: List[str]
python/068. Text Justification.py:4
MethodfullJustify
:type words: List[str] :type maxWidth: int :rtype: List[str]
Algorithms/068. Text Justification/Solution.py:4
MethodfullJustify
(String[] words, int maxWidth)
Algorithms/068. Text Justification/Solution.java:2
MethodfullJustify
(String[] words, int maxWidth)
java/068. Text Justification.java:2
MethodgameOfLife
:type board: List[List[int]] :rtype: void Do not return anything, modify board in-place instead.
python/289. Game of Life.py:7
MethodgameOfLife
:type board: List[List[int]] :rtype: void Do not return anything, modify board in-place instead.
Algorithms/289. Game of Life/Solution.py:7
MethodgameOfLife
(int[][] board)
Algorithms/289. Game of Life/Solution.java:2
MethodgameOfLife
(int[][] board)
java/289. Game of Life.java:2
Methodgenerate
:type numRows: int :rtype: List[List[int]]
python/118. Pascal's Triangle.py:4
Methodgenerate
:type numRows: int :rtype: List[List[int]]
Algorithms/118. Pascal's Triangle/Solution.py:4
Methodgenerate
(int numRows)
Algorithms/118. Pascal's Triangle/Solution.java:2
Methodgenerate
(int numRows)
java/118. Pascal's Triangle.java:2
MethodgenerateMatrix
:type n: int :rtype: List[List[int]]
python/059. Spiral Matrix II.py:4
MethodgenerateMatrix
:type n: int :rtype: List[List[int]]
Algorithms/059. Spiral Matrix II/Solution.py:4
MethodgenerateMatrix
(int n)
Algorithms/059. Spiral Matrix II/Solution.java:2
MethodgenerateMatrix
(int n)
java/059. Spiral Matrix II.java:2
MethodgenerateParenthesis
:type n: int :rtype: List[str]
python/022. Generate Parentheses.py:4
MethodgenerateParenthesis
:type n: int :rtype: List[str]
Algorithms/022. Generate Parentheses/Solution.py:4
MethodgenerateParenthesis
(int n)
Algorithms/022. Generate Parentheses/Solution.java:2
MethodgenerateParenthesis
(int n)
java/022. Generate Parentheses.java:2
MethodgenerateTrees
(int n)
Algorithms/095. Unique Binary Search Trees II/Solution.java:11
← previousnext →601–700 of 1,433, ranked by callers