Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codedecks-in/LeetCode-Solutions
/ functions
Functions
283 in github.com/codedecks-in/LeetCode-Solutions
⨍
Functions
283
◇
Types & classes
171
Method
minAddToMakeValid
C++/minimum-add-to-make-parentheses-valid.cpp:5
Method
minCameraCover
C++/Binary-Tree-Cameras.cpp:29
Function
minDepth
(root)
JavaScript/111-minimum-depth-of-binary-tree.js:25
Method
minDistance
(self, s1: str, s2: str)
Python/edit-distance.py:7
Method
minFlips
C++/Minimum-Number-of-Flips-to-Convert-Binary-Matrix-to-Zero-Matrix.cpp:29
Method
minOperations
C++/Crawler-Log-Folder.cpp:3
Method
minOperations
(String[] logs)
Java/crawler-log-folder-leetcode-1598.java:2
Method
minRemoveToMakeValid
C++/minimum-remove-to-make-valid-parentheses.cpp:3
Method
minimumEffortPath
(int[][] heights)
Java/path-with-minimum-effort.java:21
Method
missingNumber
(int[] nums)
Java/missing-number.java:10
Method
moveZeroes
C++/Move-Zeroes.cpp:7
Function
myPow
(x, n)
JavaScript/50.Powxn.js:40
Method
myPow
(self, x: float, n: int)
Python/50.Powxn.py:7
Method
networkDelayTime
C++/Network-delay-time.cpp:5
Method
nextGreaterElement
(self, nums1: List[int], nums2: List[int])
Python/496_nextgreaterelement.py:9
Method
numDecodings
(self, s: str)
Python/decode-ways.py:7
Method
numIdenticalPairs
(int[] nums)
Java/Number-of-Good-Pairs.java:2
Method
numIslands
@param grid @return
Java/NumberOfIslands.java:29
Method
numJewelsInStones
(String J, String S)
Java/May-LeetCoding-Challenge/Day-2-Jewels-and-Stones.java:16
Method
numOfMinutes
C++/Time-Needed-To-Inform-All-Employees.cpp:18
Method
numberToRoman
(int number)
Java/integer-to-roman.java:2
Method
orangesRotting
(self, grid: List[List[int]])
Python/994_Rotting_Oranges.py:5
Method
pathSum
C++/Path-Sum-II.cpp:31
Method
permute
(int[] nums)
Java/Perm_Recus.java:1
Method
ping
C++/Number-of-Recent-Calls.cpp:9
Method
preorderTraversal
(TreeNode root)
Java/binary-tree-preorder-traversal.java:16
Method
printGrid
A utility function to print grid */
C++/Sudoku-Solver.cpp:92
Method
put
(self, key: int, value: int)
Python/LRUCache.py:27
Method
recoverFromPreorder
C++/Recover-a-Tree-From-Preorder-Traversal.cpp:14
Method
recur
C++/combination-sum.cpp:4
Method
removeCoveredIntervals
C++/Remove-Covered-Intervals.cpp:12
Method
removeDuplicates
C++/remove-all-adjacent-duplicates-in-string.cpp:3
Method
removeElement
C++/remove-element.cpp:8
Method
removeNthFromEnd
(ListNode head, int n)
Java/remove-nth-node-from-end-of-list.java:12
Method
removeStones
C++/Most-Stones-Removed-with-Same-Row-or-Column.cpp:36
Method
reorganizeString
(self, S: str)
Python/reorganize-string.py:10
Method
reverse
C++/Reverse-Integer.cpp:3
Method
reverseWords
(String s)
Java/reverse-words-in-a-string.java:23
Method
romanToNumber
(String roman)
Java/roman-to-integer.java:28
Method
rotate
Do not return anything, modify nums in-place instead.
Python/rotate-array.py:2
Method
runningSum
(int[] nums)
Java/running-sum-of-1d-array.java:10
Method
search
(self, nums: List[int], target: int)
Python/search-in-rotated-sorted-array.py:10
Method
search
C++/BinarySearch.cpp:9
Method
searchInsert
(self, nums: List[int], target: int)
Python/35.SearchInsertPosition.py:7
Method
searchMatrix
(int[][] matrix, int target)
Java/Search-a-2d-matrix.java:2
Method
setZeroes
(int[][] matrix)
Java/set-matrix-zeroes.java:2
Method
shortestBridge
C++/Shortest-Bridge.cpp:29
Method
shortestCommonSupersequence
C++/Shortest-Common-Supersequence.cpp:9
Method
show
(self,head)
Python/LRUCache.py:58
Method
shuffle
(int[] nums, int n)
Java/shuffle-the-array.java:2
Function
singleNumber
(self, nums: List[int])
Python/single-number.py:2
Method
singleNumber
(self, nums: List[int])
Python/single-number-iii.py:56
Method
singleNumber
(self, nums: List[int])
Python/single-number-ii.py:2
Method
singleNumber
C++/Single-Number-III.cpp:9
Method
singleNumber
C++/Single-Number-II.cpp:9
Method
singleNumber
C++/Single-Number.cpp:11
Method
singleNumber
(int[] nums)
Java/single-number.java:20
Function
solution
(isBadVersion)
JavaScript/First-Bad-Version.js:26
Method
solve
(self, prices)
Python/best-time-to-buy-and-sell-stock-ii.py:7
Method
solve
C++/Binary-Tree-Maximum-Path-Sum.cpp:20
Method
solve
C++/Sudoku-Solver.cpp:69
Method
solveSudoku
C++/Sudoku-Solver.cpp:102
Method
sortedArrayToBST
(int[] nums)
Java/convert-sorted-list-to-binary-search-tree.java:17
Function
subdomainVisits
(cpdomains)
JavaScript/Subdomain-Visit-Count.js:22
Method
subsetSum
using 0/1 knapsack top down approach
C++/Partition-Equal-Subset-Sum.cpp:12
Method
sumNumbers
(TreeNode root)
Java/sum-root-to-leaf-numbers.java:23
Method
sumRange
(int l, int r)
Java/Range-Sum-Query-Mutable.java:55
Method
threeSum
C++/3sum.cpp:3
Method
titleToNumber
C++/Excel-Sheet-Column-Number.cpp:20
Method
trap
(self, height: List[int])
Python/trapping_rain.py:2
Function
twoSum
C++/two-sum.cpp:25
Method
twoSum
(self, nums: List[int], target: int)
Python/1_TwoSum.py:32
Method
twoSum
C++/two-sum.cpp:4
Method
twoSum
(int[] nums, int target)
Java/two-sum.java:11
Method
unionEdge
C++/Most-Stones-Removed-with-Same-Row-or-Column.cpp:21
Method
uniquePathsIII
C++/Unique-Paths-III.cpp:35
Method
update
(int pos, int val)
Java/Range-Sum-Query-Mutable.java:36
Method
update_root
C++/LRU-Cache.cpp:22
Method
valid
C++/Minimum-Number-of-Flips-to-Convert-Binary-Matrix-to-Zero-Matrix.cpp:4
Method
wordBreak
(self, s: str, wordDict: List[str])
Python/word-break-1.py:9
Method
xorOperation
(int n, int start)
Java/xor-op-in-array.java:2
Function
zigzagLevelOrder
(root)
JavaScript/Binary-Tree-ZigZag-Traversal.js:35
Method
zigzagLevelOrder
C++/Binary-Tree-Zigzag-Level-Order-Traversal.cpp:12
← previous
201–283 of 283, ranked by callers