Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NirmalSilwal/Data-Structure-and-Algorithm-Java-interview-kit
/ functions
Functions
2,029 in github.com/NirmalSilwal/Data-Structure-and-Algorithm-Java-interview-kit
⨍
Functions
2,029
◇
Types & classes
791
↓ 121 callers
Method
get
()
Interview Prep/section17_Heap/Heap.java:117
↓ 113 callers
Method
toString
()
Interview Prep/section16_Hashmap/HashTable.java:19
↓ 105 callers
Method
add
(int item)
Interview Prep/section17_Heap/Heap.java:10
↓ 63 callers
Method
max
()
Interview Prep/section24_BinaryTree/BinaryTree.java:120
↓ 62 callers
Method
size
()
Interview Prep/section17_Heap/Heap.java:38
↓ 52 callers
Method
put
(K key, V value)
Interview Prep/section16_Hashmap/HashTable.java:38
↓ 49 callers
Method
put
value will always be non-negative.
Leetcode/easy/DesignHashMap706.java:35
↓ 45 callers
Method
addLast
(int data)
CodingBlocks Training/Day19/LinkedList.java:59
↓ 41 callers
Method
nextInt
()
Codechef/StartersSept2021/C.java:55
↓ 40 callers
Method
add
(int key)
Leetcode/MustDoEasyList/DesignHashSet705.java:24
↓ 31 callers
Method
max
()
Interview Prep/section14_Tree/BinarySearchTree.java:81
↓ 29 callers
Method
get
Returns the value to which the specified key is mapped, or -1 if this map contains no mapping for the key
Leetcode/easy/DesignHashMap706.java:86
↓ 29 callers
Method
isEmpty
()
CodingBlocks Training/Day18/LinkedList.java:31
↓ 26 callers
Method
addLast
(int item)
Interview Prep/section13_LinkedList/LinkedList.java:28
↓ 26 callers
Method
min
()
Interview Prep/section14_Tree/BinarySearchTree.java:104
↓ 26 callers
Method
push
(int item)
Interview Prep/section15_InterfaceAndGenerics/Demo1/Stack.java:8
↓ 23 callers
Method
size
()
CodingBlocks Training/Day18/LinkedList.java:26
↓ 21 callers
Method
display
()
Interview Prep/section13_LinkedList/LinkedList.java:15
↓ 21 callers
Method
equals
(Object other)
Interview Prep/section16_Hashmap/HashTable.java:14
↓ 19 callers
Method
addLast
(int data)
CodingBlocks Training/Day18/LinkedList.java:46
↓ 19 callers
Method
fill
(int[] arr, int k, int n)
Basic programs/MS_CS_MIU/Frequent_Questions/FillArray.java:28
↓ 18 callers
Method
remove
()
Interview Prep/section17_Heap/Heap.java:46
↓ 17 callers
Method
addEdge
(String vname1, String vname2, int cost)
Interview Prep/section20_Graph/Graph.java:71
↓ 17 callers
Method
display
()
Interview Prep/section15_InterfaceAndGenerics/Demo1/DynamicStackInterface.java:6
↓ 17 callers
Method
nextInt
()
Codechef/StartersJune2021/B.java:50
↓ 16 callers
Method
addVertex
(String vname)
Interview Prep/section20_Graph/Graph.java:30
↓ 16 callers
Method
get
()
Interview Prep/section18_Tries/HeapGeneric.java:36
↓ 16 callers
Method
push
(int item)
CodingBlocks Training/Day17/DynamicStack.java:10
↓ 16 callers
Method
removeFirst
()
Interview Prep/section13_LinkedList/LinkedList.java:147
↓ 16 callers
Method
size
()
CodingBlocks Training/Day19/LinkedList.java:39
↓ 15 callers
Method
get
(int key)
Leetcode/leetcodeTags/LinkedList/DesignHashMap706.java:84
↓ 15 callers
Method
isEmpty
()
Interview Prep/section15_InterfaceAndGenerics/Demo1/Stack.java:29
↓ 15 callers
Method
peek
()
Interview Prep/section10_Stacks/StackUsingArray.java:47
↓ 14 callers
Method
add
(int key)
Leetcode/leetcodeTags/LinkedList/DesignHashSet705.java:23
↓ 14 callers
Method
pop
()
Interview Prep/section15_InterfaceAndGenerics/Demo1/Stack.java:15
↓ 14 callers
Method
sliceArray
(char[] arr, int start, int len)
Basic programs/MS_CS_MIU/CharArraySlicing.java:38
↓ 13 callers
Method
add
(T element)
CodingBlocks Training/Day25/HeapsImplementation.java:27
↓ 13 callers
Method
addLast
(int data)
CodingBlocks Training/Day18/Question/LinkedList.java:46
↓ 13 callers
Method
display
()
CodingBlocks Training/Day19/LinkedList.java:187
↓ 12 callers
Method
max
()
CodingBlocks Training/Day20/maxDataInBinaryTree.java:60
↓ 12 callers
Method
search
(String word)
Interview Prep/section18_Tries/Trie.java:82
↓ 12 callers
Method
size
()
CodingBlocks Training/Day18/Question/LinkedList.java:26
↓ 11 callers
Method
add
(int a, int b)
CodingBlocks Training/Day16/methodOverloading.java:15
↓ 11 callers
Method
isPowerOfThree
(int n)
Leetcode/easy/PowerOfThree326.java:29
↓ 11 callers
Method
push
(int item)
Interview Prep/section11_Queue/StackUsingQueuePopEfficient.java:22
↓ 10 callers
Method
addFirst
(int data)
CodingBlocks Training/Day19/LinkedList.java:49
↓ 10 callers
Method
addFirst
(int item)
Interview Prep/section13_LinkedList/LinkedList.java:48
↓ 10 callers
Method
next
()
Codechef/StartersSept2021/C.java:44
↓ 10 callers
Method
size
()
Interview Prep/section18_Tries/HeapGeneric.java:28
↓ 9 callers
Method
display
()
CodingBlocks Training/Day18/LinkedList.java:174
↓ 9 callers
Method
isNormal
(int n)
Basic programs/MS_CS_MIU/Frequent_Questions/NormalNumber.java:18
↓ 9 callers
Method
nextInt
()
Codechef/JulyLongChallenge2021/B.java:49
↓ 9 callers
Method
pop
()
CodingBlocks Training/Day17/stackUsingArray.java:32
↓ 9 callers
Method
pop
()
Interview Prep/section11_Queue/StackUsingQueuePopEfficient.java:17
↓ 8 callers
Method
addWord
(String word)
Interview Prep/section18_Tries/Trie.java:33
↓ 8 callers
Method
contains
Returns true if this set contains the specified element
Leetcode/MustDoEasyList/DesignHashSet705.java:90
↓ 8 callers
Method
display
()
CodingBlocks Training/Day21/binaryTree.java:65
↓ 8 callers
Method
findMissingRanges
(int[] nums, int lower, int upper)
Leetcode/easy/MissingRanges163.java:11
↓ 8 callers
Method
nextInt
()
Codechef/Starters24Feb2022/C.java:71
↓ 8 callers
Method
oddEvenDiff
(int[] arr)
Basic programs/MS_CS_MIU/OddEvenSumDifference.java:33
↓ 8 callers
Method
put
(int key, int value)
Leetcode/leetcodeTags/LinkedList/DesignHashMap706.java:33
↓ 7 callers
Method
addEdge
(ArrayList<ArrayList<Integer>> adj, int u, int v)
GeeksForGeeks/Graph/BFSTraversal.java:61
↓ 7 callers
Method
clusterCompression
(int[] arr)
Basic programs/MS_CS_MIU/practice_set/ClusterCompression.java:38
↓ 7 callers
Method
display
()
Interview Prep/section13_LinkedList/QueueUsingLinkedList.java:23
↓ 7 callers
Method
getExponent
(int n, int p)
Basic programs/MS_CS_MIU/Frequent_Questions/GetExponent.java:22
↓ 7 callers
Method
height
()
Interview Prep/section24_BinaryTree/BinaryTree.java:175
↓ 7 callers
Method
isEmpty
()
Interview Prep/section11_Queue/QueueUsingArray.java:25
↓ 7 callers
Method
isOddHeavy
(int[] arr)
Basic programs/MS_CS_MIU/Frequent_Questions/OddHeavyArray.java:33
↓ 7 callers
Method
maxHeight
(int n)
CodingBlocks Training/Day14/maxHeightLadder3.java:18
↓ 7 callers
Method
maxHeight
(int n)
CodingBlocks Training/Day14/maxHeightLadder.java:19
↓ 7 callers
Method
maxHeight
(int n)
CodingBlocks Training/Day14/maxHeightLadder2.java:19
↓ 7 callers
Method
maxSubarraySumCircular
(int[] arr)
GeeksForGeeks/Arrays/MaximumSumCircularSubarray2.java:29
↓ 7 callers
Method
maxSubarraySumCircular
(int[] arr)
GeeksForGeeks/Arrays/MaximumSumCircularSubarray.java:38
↓ 7 callers
Method
maxSubarraySumCircular2
(int[] arr)
GeeksForGeeks/Arrays/MaximumSumCircularSubarray.java:55
↓ 7 callers
Method
mySqrt
(int x)
Leetcode/Youtube/SquareRootX.java:5
↓ 7 callers
Method
mySqrt2
(int x)
Leetcode/Youtube/SquareRootX.java:21
↓ 7 callers
Method
push
(int item)
Interview Prep/section10_Stacks/StackUsingArray.java:31
↓ 6 callers
Method
addEdge
(ArrayList<ArrayList<Integer>> adjList, int u, int v)
GeeksForGeeks/Graph/TopologicalSorting.java:34
↓ 6 callers
Method
display
()
CodingBlocks Training/Day18/Question/LinkedList.java:174
↓ 6 callers
Method
display
()
Interview Prep/section10_Stacks/StackUsingArray.java:51
↓ 6 callers
Method
enqueue
(int item)
CodingBlocks Training/Day17/DynamicQueue.java:9
↓ 6 callers
Method
extract_nth_bit
(int num, int position)
CodingBlocks Training/Day8/ExtractNthBit.java:16
↓ 6 callers
Method
f
(int[] a)
Basic programs/MS_CS_MIU/SecondLargestElement.java:32
↓ 6 callers
Method
find
(int item)
Interview Prep/section24_BinaryTree/BinaryTree.java:152
↓ 6 callers
Method
getFirst
()
Interview Prep/section13_LinkedList/LinkedList.java:64
↓ 6 callers
Method
getNodeAt
(int index)
CodingBlocks Training/Day18/Question/LinkedList.java:59
↓ 6 callers
Method
getNodeAt
(int index)
CodingBlocks Training/Day19/LinkedList.java:72
↓ 6 callers
Method
giveColor
(int[] colors, int i, int j)
Interview Prep/section19_DynamicProgramming/MixutureColors.java:57
↓ 6 callers
Method
is121Array
(int[] arr)
Basic programs/MS_CS_MIU/Frequent_Questions/Check121Array.java:26
↓ 6 callers
Method
isBalanced
(String str)
CodingBlocks Training/Day17/balancedString_paranthesis.java:20
↓ 6 callers
Method
isEmpty
()
CodingBlocks Training/Day17/QueueUsingStackEnqueueEfficient.java:19
↓ 6 callers
Method
isEmpty
()
Interview Prep/section17_Heap/Heap.java:42
↓ 6 callers
Method
isFilter
(int[] arr)
Basic programs/MS_CS_MIU/practice_set/FilterArray.java:31
↓ 6 callers
Method
isMaxMinEqual
(int[] arr)
Basic programs/MS_CS_MIU/practice_set/MaxMinEqualArray.java:26
↓ 6 callers
Method
isPowerOfTwo
(int num)
Interview Prep/section22_BitMasking/CheckPowerOf2.java:15
↓ 6 callers
Method
isWave
(int[] arr)
Basic programs/MS_CS_MIU/Frequent_Questions/WaveArray.java:31
↓ 6 callers
Method
nextInt
()
Codeforces/livecontest/EducationalRound114/B.java:59
↓ 6 callers
Method
searchKeyMatrix
(int[][] arr, int key)
CodingBlocks Training/Day14/searchMatrix2.java:21
↓ 6 callers
Method
size
()
CodingBlocks Training/Day25/HeapsImplementation.java:16
↓ 6 callers
Method
staircase
(int[][] arr, int key)
CodingBlocks Training/Day14/searchMatrix3.java:21
next →
1–100 of 2,029, ranked by callers