MCPcopy Create free account

hub / github.com/neetcode-gh/leetcode / functions

Functions3,416 in github.com/neetcode-gh/leetcode

↓ 2 callersFunctiondecode
(s, tabu)
javascript/0091-decode-ways.js:67
↓ 2 callersFunctiondeserialize
(data)
javascript/0297-serialize-and-deserialize-binary-tree.js:66
↓ 2 callersFunctiondfs
(nums, permutation = [], permutations = [])
javascript/0046-permutations.js:11
↓ 2 callersFunctiondfs
(board, n, colSet, posDiagSet, negDiagSet, row = 0, moves = [])
javascript/0051-n-queens.js:18
↓ 2 callersFunctiondfs
(node, graph, color, topologicalOrder, isDirectedAcyclicGraph)
javascript/0210-course-schedule-ii.js:52
↓ 2 callersFunctiondfs
(nums, target, index, sum)
javascript/0494-target-sum.js:21
↓ 2 callersFunctiondfs
(matrix, row, rows, col, cols, ans = 0)
javascript/0329-longest-increasing-path-in-a-matrix.js:30
↓ 2 callersFunctiondfs
(char, graph, seen, buffer)
javascript/0269-alien-dictionary.js:159
↓ 2 callersFunctiondfs
(text1, text2, p1, p2, memo)
javascript/1143-Longest-Common-Subsequence.js:23
↓ 2 callersFunctiondfs
(word1, word2, i, j)
javascript/0072-edit-distance.js:27
↓ 2 callersFunctiondfs
(nums, index = 0, set = [], subset = [])
javascript/0090-subsets-ii.js:13
↓ 2 callersFunctiondfs
(preorder, inorder)
javascript/0105-construct-binary-tree-from-preorder-and-inorder-traversal.js:15
↓ 2 callersFunctiondfs
(root)
javascript/0110-balanced-binary-tree.js:39
↓ 2 callersFunctiondfs
(s, wordSet, start)
javascript/0139-word-break.js:23
↓ 2 callersFunctiondfs
(node, arr)
javascript/0872-leaf-similar-trees.js:18
↓ 2 callersFunctiondfs
(nums, index, subSetSum)
javascript/0416-partition-equal-subset-sum.js:26
↓ 2 callersFunctiondfs
(amount, coins, n)
javascript/0518-coin-change-ii.js:18
↓ 2 callersFunctiondfs
( candidates, target, index = 0, combination = [], combinations = [], )
javascript/0040-combination-sum-ii.js:14
↓ 2 callersFunctiondfs
(coins, amount, coin)
javascript/0322-coin-change.js:19
↓ 2 callersFunctiondfs
(text1, text2, p1, p2, memo)
javascript/1143-longest-common-subsequence.js:23
↓ 2 callersFunctiondfs
(s1, s2, s3, i, j, res, ans = false)
javascript/0097-interleaving-string.js:20
↓ 2 callersFunctiondfs
(row, col)
javascript/0062-unique-paths.js:16
↓ 2 callersFunctiondfs
(nums, level = 0, set = [], subset = [])
javascript/0078-subsets.js:13
↓ 2 callersMethoddfs
(word, node, level)
javascript/0211-design-add-and-search-words-data-structure.js:38
↓ 2 callersMethoddfs
(board, row, rows, col, cols, node, words)
javascript/0212-word-search-ii.js:50
↓ 2 callersFunctionexpireFresh
(grid, queue)
javascript/0994-rotting-oranges.js:48
↓ 2 callersMethodfind
(self, v1)
python/1489-find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree.py:6
↓ 2 callersMethodfind
(self, x)
python/2709-greatest-common-divisor-traversal.py:7
↓ 2 callersMethodfind
(node: number)
typescript/1489-find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree.ts:12
↓ 2 callersMethodfind
(head, tail = head, { parent } = this)
javascript/0323-number-of-connected-components-in-an-undirected-graph.js:71
↓ 2 callersMethodfind
(node, { parent } = this)
javascript/0684-redundant-connection.js:66
↓ 2 callersMethodfind
(index, { parent } = this)
javascript/0200-number-of-islands.js:189
↓ 2 callersMethodfind
(int node)
java/0323-number-of-connected-components-in-an-undirected-graph.java:25
↓ 2 callersMethodfindLeafNodes
(TreeNode node, int currentPath)
java/0129-sum-root-to-leaf-numbers.java:35
↓ 2 callersFunctionfindParent
(node: number)
typescript/0684-redundant-connection.ts:6
↓ 2 callersFunctionfindTargetSumWays
(nums, target, index = 0, sum = 0)
javascript/0494-target-sum.js:9
↓ 2 callersFunctionflip
(i, isRow)
javascript/0861-score-after-flipping-matrix.js:23
↓ 2 callersMethodget
(int key)
java/0146-lru-cache.java:20
↓ 2 callersFunctiongetBoards
(boards)
javascript/0036-valid-sudoku.js:71
↓ 2 callersFunctiongetCode
(char)
javascript/0424-longest-repeating-character-replacement.js:78
↓ 2 callersFunctiongetCode
(char)
javascript/0763-partition-labels.js:51
↓ 2 callersFunctiongetCoordinates
(target, position, speed)
javascript/0853-car-fleet.js:19
↓ 2 callersFunctiongetDistance
(a, b)
typescript/1584-min-cost-to-connect-all-points.ts:1
↓ 2 callersFunctiongetFrequencyMap
(tasks, frequencyMap = new Array(26).fill(0))
javascript/0621-task-scheduler.js:15
↓ 2 callersFunctiongetHeights
(height, left, right)
javascript/0042-trapping-rain-water.js:84
↓ 2 callersFunctiongetLeft
(nums, index)
typescript/0004-median-of-two-sorted-arrays.ts:15
↓ 2 callersFunctiongetLeft
(nums, index)
javascript/0004-median-of-two-sorted-arrays.js:41
↓ 2 callersMethodgetLeft
* Time O(N) | Space O(H) * @return {number}
javascript/0173-binary-search-tree-iterator.js:26
↓ 2 callersFunctiongetLength
(s, left, right)
javascript/0005-longest-palindromic-substring.js:37
↓ 2 callersMethodgetMaxConsecutiveLength
(int[] arr)
java/2943-maximize-area-of-square-hole-in-grid.java:12
↓ 2 callersMethodgetMin
()
typescript/0155-min-stack.ts:31
↓ 2 callersFunctiongetNeighbors
(row, rows, col, cols)
javascript/0695-max-area-of-island.js:49
↓ 2 callersFunctiongetNeighbors
(row, rows, col, cols)
javascript/0200-number-of-islands.js:35
↓ 2 callersFunctiongetNeighbors
(row, rows, col, cols)
javascript/0994-rotting-oranges.js:61
↓ 2 callersFunctiongetNeighbors
(row, rows, col, cols)
javascript/0286-walls-and-gates.js:34
↓ 2 callersFunctiongetNeighbors
(row, rows, col, cols)
javascript/0130-surrounded-regions.js:66
↓ 2 callersFunctiongetNeighbors
(row, rows, col, cols)
javascript/0417-pacific-atlantic-water-flow.js:127
↓ 2 callersFunctiongetRight
(nums, index)
typescript/0004-median-of-two-sorted-arrays.ts:16
↓ 2 callersFunctiongetRight
(nums, index)
javascript/0004-median-of-two-sorted-arrays.js:45
↓ 2 callersMethodgetSum
(int a, int b)
java/0371-sum-of-two-integers.java:3
↓ 2 callersFunctiongroupWords
(words, map)
javascript/0049-group-anagrams.js:17
↓ 2 callersFunctionhasCycle
(currCourse, graph, path)
javascript/0207-course-schedule.js:59
↓ 2 callersFunctionhasMatch
(s1, s2, s3, i, j, tabu)
javascript/0097-interleaving-string.js:167
↓ 2 callersFunctionhasNewMax
(max, height)
javascript/0042-trapping-rain-water.js:82
↓ 2 callersFunctionhasRedundantConnection
(graph, source, target, seen = new Set())
javascript/0684-redundant-connection.js:20
↓ 2 callersMethodheight
(TreeNode root)
java/0110-balanced-binary-tree.java:34
↓ 2 callersFunctionhelper
(nums: number[])
typescript/0213-house-robber-ii.ts:1
↓ 2 callersMethodhelper
(self, nums)
python/0213-house-robber-ii.py:5
↓ 2 callersMethodhelper
(self, s, left, right)
python/0005-longest-palindromic-substring.py:11
↓ 2 callersMethodhelper
(int[] nums, int goal)
java/0930-binary-subarrays-with-sum.java:5
↓ 2 callersMethodincreaseRank
(head, tail, { rank } = this)
javascript/0323-number-of-connected-components-in-an-undirected-graph.js:86
↓ 2 callersMethodincreaseRank
(head, tail, { rank } = this)
javascript/0684-redundant-connection.js:84
↓ 2 callersFunctioninitBuffer
(num1, num2)
javascript/0043-multiply-strings.js:21
↓ 2 callersFunctioninitGraph
(numCourses)
javascript/0210-course-schedule-ii.js:17
↓ 2 callersFunctioninitGraph
()
javascript/0269-alien-dictionary.js:18
↓ 2 callersFunctioninitGraph
(n, k)
javascript/0743-network-delay-time.js:19
↓ 2 callersFunctioninitGraph
(n)
javascript/0261-graph-valid-tree.js:19
↓ 2 callersFunctioninitMemo
(text1, text2)
javascript/1143-Longest-Common-Subsequence.js:20
↓ 2 callersFunctioninitMemo
(text1, text2)
javascript/1143-longest-common-subsequence.js:20
↓ 2 callersFunctioninitTabu
(word1, word2)
javascript/0072-edit-distance.js:164
↓ 2 callersFunctioninitTabu
(nums, subSetSum)
javascript/0416-partition-equal-subset-sum.js:127
↓ 2 callersFunctioninitTabu
(amount, coins)
javascript/0518-coin-change-ii.js:117
↓ 2 callersFunctioninitTabu
(s1, s2)
javascript/0097-interleaving-string.js:146
↓ 2 callersFunctioninitTabu
(row, col)
javascript/0062-unique-paths.js:103
↓ 2 callersFunctioninitTabu
(s, t)
javascript/0115-distinct-subsequences.js:77
↓ 2 callersMethodinsert
(self, node)
python/0146-lru-cache.py:21
↓ 2 callersMethodinsert
(word: string)
typescript/0208-implement-trie-prefix-tree.ts:16
↓ 2 callersFunctioninvertTree
(root)
javascript/0226-invert-binary-tree.js:7
↓ 2 callersFunctionisAlphaNumeric
(c)
javascript/0125-valid-palindrome.js:72
↓ 2 callersFunctionisBalanced
(root)
javascript/0110-balanced-binary-tree.js:7
↓ 2 callersFunctionisDivisor
(l: number)
typescript/1071-greatest-common-divisor-of-strings.ts:4
↓ 2 callersFunctionisInBound
(val, vals)
javascript/0200-number-of-islands.js:148
↓ 2 callersFunctionisInBounds
()
javascript/0054-spiral-matrix.js:13
↓ 2 callersFunctionisIsland
(cell)
javascript/0200-number-of-islands.js:149
↓ 2 callersFunctionisKEqual
(k, i, size)
javascript/0678-valid-parenthesis-string.js:92
↓ 2 callersFunctionisLetterOrDigit
(s rune)
go/0125-valid-palindrome.go:31
↓ 2 callersFunctionisPalindrome
(s)
javascript/0680-valid-palindrome-ii.js:22
↓ 2 callersFunctionisPalindromeFromCenter
(s, left, right, count = 0)
javascript/0647-palindromic-substrings.js:128
↓ 2 callersFunctionisParentDirectory
(path)
javascript/0071-simplify-path.js:29
↓ 2 callersFunctionisSameTree
(p, q)
javascript/0100-same-tree.js:7
← previousnext →201–300 of 3,416, ranked by callers