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
↓ 39 callers
Method
length
(int N)
Java/Armstrong-Number.java:26
↓ 34 callers
Method
push
(int x)
Java/Design-a-Stack-With-Increment-Operation.java:8
↓ 31 callers
Method
add
(Node node)
Java/LRU-Cache.java:58
↓ 30 callers
Method
pop
()
Java/Design-a-Stack-With-Increment-Operation.java:15
↓ 14 callers
Method
find
(int u)
Java/Redundant-Connection/redundant-connection.java:21
↓ 10 callers
Method
get
(int key)
Java/LRU-Cache.java:23
↓ 9 callers
Method
insert
(int v)
Java/complete-binary-tree-inserter.java:34
↓ 7 callers
Method
isEmpty
Checks whether the circular deque is empty or not.
Java/design-circular-deque.java:140
↓ 7 callers
Method
remove
(Node node)
Java/LRU-Cache.java:68
↓ 6 callers
Method
put
(int key, int value)
Java/LRU-Cache.java:35
↓ 5 callers
Method
set
C++/Minimum-Number-of-Flips-to-Convert-Binary-Matrix-to-Zero-Matrix.cpp:24
↓ 4 callers
Method
destroy
(self, grid, i, j, n, m, rotten)
Python/994_Rotting_Oranges.py:41
↓ 4 callers
Method
find
(int u)
Java/graph_connectivity_with_threshold.java:22
↓ 4 callers
Method
get
C++/LRU-Cache.cpp:58
↓ 4 callers
Function
pow
(x, n)
JavaScript/50.Powxn.js:47
↓ 4 callers
Method
remove
(self,node)
Python/LRUCache.py:45
↓ 3 callers
Method
SquareSum
(int n)
Java/Happy-Number.java:20
↓ 3 callers
Method
isEmpty
Checks whether the circular queue is empty or not.
Python/622-Design-Circular-Queue.py:69
↓ 3 callers
Method
isValid
(ArrayList<Integer> arr)
Java/valid-sudoku.java:20
↓ 3 callers
Method
put
C++/LRU-Cache.cpp:70
↓ 2 callers
Method
GetNum
(int num)
Java/roman-to-integer.java:2
↓ 2 callers
Method
add
(self,node)
Python/LRUCache.py:50
↓ 2 callers
Method
getLinkedListLength
(ListNode head)
Java/intersection-of-two-linked-lists.java:44
↓ 2 callers
Method
getValue
(int ele)
Java/Arithmetic-Subarrays.java:20
↓ 2 callers
Method
height
(TreeNode root)
Java/Balanced-Binary-Tree.java:34
↓ 2 callers
Method
moveList
(int difference, ListNode head)
Java/intersection-of-two-linked-lists.java:56
↓ 2 callers
Method
postorderTraversal
(TreeNode root)
Java/binary-tree-postorder-traversal.java:16
↓ 2 callers
Method
swap
(int[] nums, int i, int j)
Java/Perm_Recus.java:27
↓ 1 callers
Method
_numIslands
@param grid @param m @param n
Java/NumberOfIslands.java:62
↓ 1 callers
Method
buildTree
(int[] nums)
Java/Range-Sum-Query-Mutable.java:28
↓ 1 callers
Method
buildTree
(int l, int r, int nums[])
Java/convert-sorted-list-to-binary-search-tree.java:22
↓ 1 callers
Method
check
(self, number, nums1, nums2)
Python/496_nextgreaterelement.py:2
↓ 1 callers
Method
checkMirror
(TreeNode lt, TreeNode rt)
Java/symmetric-tree.java:19
↓ 1 callers
Method
findPaths
(int[][] graph,int fromNode,List<Integer> path,List<List<Integer>> ans)
Java/All_Paths_From_Source_to_Target.java:2
↓ 1 callers
Method
get
(self, key: int)
Python/LRUCache.py:19
↓ 1 callers
Method
groupAnagrams
:type strs: List[str] :rtype: List[List[str]]
Python/group_anagram.py:12
↓ 1 callers
Method
helper
(self, s, p, idx_s, idx_p,cache)
Python/wildcard-matching.py:10
↓ 1 callers
Method
helper
(int start, int[] nums, List<List<Integer>> result)
Java/Perm_Recus.java:7
↓ 1 callers
Method
inorder
(TreeNode root, List<Integer> list)
Java/binary-tree-inorder-traversal.java:22
↓ 1 callers
Method
isCycleExists
(ListNode head)
Java/linked-list-cycle-ii.java:34
↓ 1 callers
Method
isDuplicate
(String str)
Java/buddy-strings.java:10
↓ 1 callers
Method
isFull
Checks whether the circular queue is full or not.
Python/622-Design-Circular-Queue.py:76
↓ 1 callers
Method
numberOfBits
Method to find out the total number of bits in a number.
Java/number-complement.java:12
↓ 1 callers
Method
postorder
(TreeNode root)
Java/binary-tree-postorder-traversal.java:21
↓ 1 callers
Method
preorder
(self, p, q, result)
Python/100.SameTree.py:20
↓ 1 callers
Method
preorder
(TreeNode root, List<Integer> ls)
Java/binary-tree-preorder-traversal.java:21
↓ 1 callers
Method
reverse
(int x)
Java/reverse-integer.java:9
↓ 1 callers
Function
smallestDifference
(arr1 : list, arr2 : list)
Python/SmallestDifference.py:41
↓ 1 callers
Function
sum_of_three
(arr, target=0)
Python/ThreeNumbersSum.py:32
↓ 1 callers
Function
traversal
(root, depth)
JavaScript/111-minimum-depth-of-binary-tree.js:33
↓ 1 callers
Method
traverse
(TreeNode root, int n)
Java/sum-root-to-leaf-numbers.java:28
↓ 1 callers
Method
union
(int u, int v)
Java/graph_connectivity_with_threshold.java:29
↓ 1 callers
Method
union
(int u, int v)
Java/Redundant-Connection/redundant-connection.java:28
Method
CBTInserter
(TreeNode root)
Java/complete-binary-tree-inserter.java:14
Method
CustomStack
(int maxSize)
Java/Design-a-Stack-With-Increment-Operation.java:4
Method
DUS
(int n)
Java/Redundant-Connection/redundant-connection.java:13
Method
Dus
(int n)
Java/graph_connectivity_with_threshold.java:14
Method
Front
Get the front item from the queue.
Python/622-Design-Circular-Queue.py:57
Function
LRUCache
(capacity)
JavaScript/146.LRU-Cache.js:46
Method
LRUCache
C++/LRU-Cache.cpp:56
Method
LRUCache
(int capacity)
Java/LRU-Cache.java:16
Method
MyCircularDeque
Initialize your data structure here. Set the size of the deque to be k.
Java/design-circular-deque.java:16
Method
Node
C++/LRU-Cache.cpp:11
Method
NumArray
(int[] nums)
Java/Range-Sum-Query-Mutable.java:18
Method
Point
(int x, int y, int height)
Java/path-with-minimum-effort.java:14
Method
Rear
Get the last item from the queue.
Python/622-Design-Circular-Queue.py:63
Method
RecentCounter
C++/Number-of-Recent-Calls.cpp:5
Method
__init__
Initialize your data structure here. Set the size of the queue to be k.
Python/622-Design-Circular-Queue.py:24
Method
__init__
(self,key,val)
Python/LRUCache.py:2
Method
__init__
(self, capacity: int)
Python/LRUCache.py:10
Method
addEdge
C++/Critical-Connections-in-a-Network.cpp:30
Method
addTwoNumbers
(ListNode l1, ListNode l2)
Java/Add-Two-Numbers.java:16
Method
allPathsSourceTarget
(int[][] graph)
Java/All_Paths_From_Source_to_Target.java:23
Method
areConnected
(int n, int threshold, int[][] queries)
Java/graph_connectivity_with_threshold.java:38
Method
asteroidCollision
C++/asteroid-collision.cpp:3
Method
balanced_string_split
(self, s: str)
Python/split-a-string-in-balanced-strings.py:7
Method
begg
Fucntion to append node at the end of lisked list
C++/merge-k-sorted-lists.cpp:14
Method
buddyStrings
(String A, String B)
Java/buddy-strings.java:21
Method
calPoints
C++/Baseball-Game.cpp:3
Method
calculateMinimumHP
C++/dungeon-game.cpp:10
Method
canConstruct
(String ransomNote, String magazine)
Java/ransom-note.java:9
Method
canConstruct
(String ransomNote, String magazine)
Java/May-LeetCoding-Challenge/Day-3-Ransom-Note.java:14
Method
canFinish
C++/Course-Schedule.cpp:33
Method
canMakeArithmeticProgression
(int[] arr)
Java/can-make-arithmetic-progression-from-sequence.java:13
Method
canPartition
C++/Partition-Equal-Subset-Sum.cpp:46
Method
checkArithmeticSubarrays
(int[] nums, int[] l, int[] r)
Java/Arithmetic-Subarrays.java:26
Method
checkWithinBounds
C++/Shortest-Bridge.cpp:10
Method
cherryPickup
C++/Cherry-Pickup-II.cpp:31
Method
climbStairs
(int n)
Java/climbing-stairs.java:2
Method
combinationSum
C++/combination-sum.cpp:20
Method
containsDuplicate
(self, nums: List[int])
Python/contains-duplicate.py:7
Method
convert
C++/Minimum-Number-of-Flips-to-Convert-Binary-Matrix-to-Zero-Matrix.cpp:8
Method
convertToTitle
C++/Excel-Sheet-Column-Title.cpp:10
Method
countGoodTriplets
(self, arr: List[int], a: int, b: int, c: int)
Python/count-good-triplets.py:9
Method
countPalindromicSubsequences
C++/Count-Different-Palindromic-Subsequences.cpp:29
Method
countPrimes
C++/Count-Primes.cpp:4
Method
criticalConnections
C++/Critical-Connections-in-a-Network.cpp:61
Method
deQueue
Delete an element from the circular queue. Return true if the operation is successful.
Python/622-Design-Circular-Queue.py:46
Method
decodeString
C++/decode-string.cpp:3
Method
defangIPaddr
C++/Defanging an IP Address.cpp:10
next →
1–100 of 283, ranked by callers