MCPcopy Create free account

hub / github.com/NirmalSilwal/Data-Structure-and-Algorithm-Java-interview-kit / functions

Functions2,029 in github.com/NirmalSilwal/Data-Structure-and-Algorithm-Java-interview-kit

↓ 121 callersMethodget
()
Interview Prep/section17_Heap/Heap.java:117
↓ 113 callersMethodtoString
()
Interview Prep/section16_Hashmap/HashTable.java:19
↓ 105 callersMethodadd
(int item)
Interview Prep/section17_Heap/Heap.java:10
↓ 63 callersMethodmax
()
Interview Prep/section24_BinaryTree/BinaryTree.java:120
↓ 62 callersMethodsize
()
Interview Prep/section17_Heap/Heap.java:38
↓ 52 callersMethodput
(K key, V value)
Interview Prep/section16_Hashmap/HashTable.java:38
↓ 49 callersMethodput
value will always be non-negative.
Leetcode/easy/DesignHashMap706.java:35
↓ 45 callersMethodaddLast
(int data)
CodingBlocks Training/Day19/LinkedList.java:59
↓ 41 callersMethodnextInt
()
Codechef/StartersSept2021/C.java:55
↓ 40 callersMethodadd
(int key)
Leetcode/MustDoEasyList/DesignHashSet705.java:24
↓ 31 callersMethodmax
()
Interview Prep/section14_Tree/BinarySearchTree.java:81
↓ 29 callersMethodget
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 callersMethodisEmpty
()
CodingBlocks Training/Day18/LinkedList.java:31
↓ 26 callersMethodaddLast
(int item)
Interview Prep/section13_LinkedList/LinkedList.java:28
↓ 26 callersMethodmin
()
Interview Prep/section14_Tree/BinarySearchTree.java:104
↓ 26 callersMethodpush
(int item)
Interview Prep/section15_InterfaceAndGenerics/Demo1/Stack.java:8
↓ 23 callersMethodsize
()
CodingBlocks Training/Day18/LinkedList.java:26
↓ 21 callersMethoddisplay
()
Interview Prep/section13_LinkedList/LinkedList.java:15
↓ 21 callersMethodequals
(Object other)
Interview Prep/section16_Hashmap/HashTable.java:14
↓ 19 callersMethodaddLast
(int data)
CodingBlocks Training/Day18/LinkedList.java:46
↓ 19 callersMethodfill
(int[] arr, int k, int n)
Basic programs/MS_CS_MIU/Frequent_Questions/FillArray.java:28
↓ 18 callersMethodremove
()
Interview Prep/section17_Heap/Heap.java:46
↓ 17 callersMethodaddEdge
(String vname1, String vname2, int cost)
Interview Prep/section20_Graph/Graph.java:71
↓ 17 callersMethoddisplay
()
Interview Prep/section15_InterfaceAndGenerics/Demo1/DynamicStackInterface.java:6
↓ 17 callersMethodnextInt
()
Codechef/StartersJune2021/B.java:50
↓ 16 callersMethodaddVertex
(String vname)
Interview Prep/section20_Graph/Graph.java:30
↓ 16 callersMethodget
()
Interview Prep/section18_Tries/HeapGeneric.java:36
↓ 16 callersMethodpush
(int item)
CodingBlocks Training/Day17/DynamicStack.java:10
↓ 16 callersMethodremoveFirst
()
Interview Prep/section13_LinkedList/LinkedList.java:147
↓ 16 callersMethodsize
()
CodingBlocks Training/Day19/LinkedList.java:39
↓ 15 callersMethodget
(int key)
Leetcode/leetcodeTags/LinkedList/DesignHashMap706.java:84
↓ 15 callersMethodisEmpty
()
Interview Prep/section15_InterfaceAndGenerics/Demo1/Stack.java:29
↓ 15 callersMethodpeek
()
Interview Prep/section10_Stacks/StackUsingArray.java:47
↓ 14 callersMethodadd
(int key)
Leetcode/leetcodeTags/LinkedList/DesignHashSet705.java:23
↓ 14 callersMethodpop
()
Interview Prep/section15_InterfaceAndGenerics/Demo1/Stack.java:15
↓ 14 callersMethodsliceArray
(char[] arr, int start, int len)
Basic programs/MS_CS_MIU/CharArraySlicing.java:38
↓ 13 callersMethodadd
(T element)
CodingBlocks Training/Day25/HeapsImplementation.java:27
↓ 13 callersMethodaddLast
(int data)
CodingBlocks Training/Day18/Question/LinkedList.java:46
↓ 13 callersMethoddisplay
()
CodingBlocks Training/Day19/LinkedList.java:187
↓ 12 callersMethodmax
()
CodingBlocks Training/Day20/maxDataInBinaryTree.java:60
↓ 12 callersMethodsearch
(String word)
Interview Prep/section18_Tries/Trie.java:82
↓ 12 callersMethodsize
()
CodingBlocks Training/Day18/Question/LinkedList.java:26
↓ 11 callersMethodadd
(int a, int b)
CodingBlocks Training/Day16/methodOverloading.java:15
↓ 11 callersMethodisPowerOfThree
(int n)
Leetcode/easy/PowerOfThree326.java:29
↓ 11 callersMethodpush
(int item)
Interview Prep/section11_Queue/StackUsingQueuePopEfficient.java:22
↓ 10 callersMethodaddFirst
(int data)
CodingBlocks Training/Day19/LinkedList.java:49
↓ 10 callersMethodaddFirst
(int item)
Interview Prep/section13_LinkedList/LinkedList.java:48
↓ 10 callersMethodnext
()
Codechef/StartersSept2021/C.java:44
↓ 10 callersMethodsize
()
Interview Prep/section18_Tries/HeapGeneric.java:28
↓ 9 callersMethoddisplay
()
CodingBlocks Training/Day18/LinkedList.java:174
↓ 9 callersMethodisNormal
(int n)
Basic programs/MS_CS_MIU/Frequent_Questions/NormalNumber.java:18
↓ 9 callersMethodnextInt
()
Codechef/JulyLongChallenge2021/B.java:49
↓ 9 callersMethodpop
()
CodingBlocks Training/Day17/stackUsingArray.java:32
↓ 9 callersMethodpop
()
Interview Prep/section11_Queue/StackUsingQueuePopEfficient.java:17
↓ 8 callersMethodaddWord
(String word)
Interview Prep/section18_Tries/Trie.java:33
↓ 8 callersMethodcontains
Returns true if this set contains the specified element
Leetcode/MustDoEasyList/DesignHashSet705.java:90
↓ 8 callersMethoddisplay
()
CodingBlocks Training/Day21/binaryTree.java:65
↓ 8 callersMethodfindMissingRanges
(int[] nums, int lower, int upper)
Leetcode/easy/MissingRanges163.java:11
↓ 8 callersMethodnextInt
()
Codechef/Starters24Feb2022/C.java:71
↓ 8 callersMethododdEvenDiff
(int[] arr)
Basic programs/MS_CS_MIU/OddEvenSumDifference.java:33
↓ 8 callersMethodput
(int key, int value)
Leetcode/leetcodeTags/LinkedList/DesignHashMap706.java:33
↓ 7 callersMethodaddEdge
(ArrayList<ArrayList<Integer>> adj, int u, int v)
GeeksForGeeks/Graph/BFSTraversal.java:61
↓ 7 callersMethodclusterCompression
(int[] arr)
Basic programs/MS_CS_MIU/practice_set/ClusterCompression.java:38
↓ 7 callersMethoddisplay
()
Interview Prep/section13_LinkedList/QueueUsingLinkedList.java:23
↓ 7 callersMethodgetExponent
(int n, int p)
Basic programs/MS_CS_MIU/Frequent_Questions/GetExponent.java:22
↓ 7 callersMethodheight
()
Interview Prep/section24_BinaryTree/BinaryTree.java:175
↓ 7 callersMethodisEmpty
()
Interview Prep/section11_Queue/QueueUsingArray.java:25
↓ 7 callersMethodisOddHeavy
(int[] arr)
Basic programs/MS_CS_MIU/Frequent_Questions/OddHeavyArray.java:33
↓ 7 callersMethodmaxHeight
(int n)
CodingBlocks Training/Day14/maxHeightLadder3.java:18
↓ 7 callersMethodmaxHeight
(int n)
CodingBlocks Training/Day14/maxHeightLadder.java:19
↓ 7 callersMethodmaxHeight
(int n)
CodingBlocks Training/Day14/maxHeightLadder2.java:19
↓ 7 callersMethodmaxSubarraySumCircular
(int[] arr)
GeeksForGeeks/Arrays/MaximumSumCircularSubarray2.java:29
↓ 7 callersMethodmaxSubarraySumCircular
(int[] arr)
GeeksForGeeks/Arrays/MaximumSumCircularSubarray.java:38
↓ 7 callersMethodmaxSubarraySumCircular2
(int[] arr)
GeeksForGeeks/Arrays/MaximumSumCircularSubarray.java:55
↓ 7 callersMethodmySqrt
(int x)
Leetcode/Youtube/SquareRootX.java:5
↓ 7 callersMethodmySqrt2
(int x)
Leetcode/Youtube/SquareRootX.java:21
↓ 7 callersMethodpush
(int item)
Interview Prep/section10_Stacks/StackUsingArray.java:31
↓ 6 callersMethodaddEdge
(ArrayList<ArrayList<Integer>> adjList, int u, int v)
GeeksForGeeks/Graph/TopologicalSorting.java:34
↓ 6 callersMethoddisplay
()
CodingBlocks Training/Day18/Question/LinkedList.java:174
↓ 6 callersMethoddisplay
()
Interview Prep/section10_Stacks/StackUsingArray.java:51
↓ 6 callersMethodenqueue
(int item)
CodingBlocks Training/Day17/DynamicQueue.java:9
↓ 6 callersMethodextract_nth_bit
(int num, int position)
CodingBlocks Training/Day8/ExtractNthBit.java:16
↓ 6 callersMethodf
(int[] a)
Basic programs/MS_CS_MIU/SecondLargestElement.java:32
↓ 6 callersMethodfind
(int item)
Interview Prep/section24_BinaryTree/BinaryTree.java:152
↓ 6 callersMethodgetFirst
()
Interview Prep/section13_LinkedList/LinkedList.java:64
↓ 6 callersMethodgetNodeAt
(int index)
CodingBlocks Training/Day18/Question/LinkedList.java:59
↓ 6 callersMethodgetNodeAt
(int index)
CodingBlocks Training/Day19/LinkedList.java:72
↓ 6 callersMethodgiveColor
(int[] colors, int i, int j)
Interview Prep/section19_DynamicProgramming/MixutureColors.java:57
↓ 6 callersMethodis121Array
(int[] arr)
Basic programs/MS_CS_MIU/Frequent_Questions/Check121Array.java:26
↓ 6 callersMethodisBalanced
(String str)
CodingBlocks Training/Day17/balancedString_paranthesis.java:20
↓ 6 callersMethodisEmpty
()
CodingBlocks Training/Day17/QueueUsingStackEnqueueEfficient.java:19
↓ 6 callersMethodisEmpty
()
Interview Prep/section17_Heap/Heap.java:42
↓ 6 callersMethodisFilter
(int[] arr)
Basic programs/MS_CS_MIU/practice_set/FilterArray.java:31
↓ 6 callersMethodisMaxMinEqual
(int[] arr)
Basic programs/MS_CS_MIU/practice_set/MaxMinEqualArray.java:26
↓ 6 callersMethodisPowerOfTwo
(int num)
Interview Prep/section22_BitMasking/CheckPowerOf2.java:15
↓ 6 callersMethodisWave
(int[] arr)
Basic programs/MS_CS_MIU/Frequent_Questions/WaveArray.java:31
↓ 6 callersMethodnextInt
()
Codeforces/livecontest/EducationalRound114/B.java:59
↓ 6 callersMethodsearchKeyMatrix
(int[][] arr, int key)
CodingBlocks Training/Day14/searchMatrix2.java:21
↓ 6 callersMethodsize
()
CodingBlocks Training/Day25/HeapsImplementation.java:16
↓ 6 callersMethodstaircase
(int[][] arr, int key)
CodingBlocks Training/Day14/searchMatrix3.java:21
next →1–100 of 2,029, ranked by callers