Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MAZHARMIK/Interview_DS_Algo
/ functions
Functions
3,557 in github.com/MAZHARMIK/Interview_DS_Algo
⨍
Functions
3,557
◇
Types & classes
1,501
Method
relativeSortArray
Arrays/Leetcode Easy/Relative Sort Array.cpp:14
Function
remove
Design/Design HashMap.cpp:168
Method
remove
Removes a value from the set. Returns true if the set contained the specified element. */
Design/Insert Delete GetRandom O(1).cpp:29
Method
remove
Design/Design HashSet.cpp:20
Method
removeAnagrams
strings/Easy Tagged/Find Resultant Array After Removing Anagrams.cpp:34
Method
removeBoxes
DP/Remove Boxes.cpp:42
Function
removeCoveredIntervals
Arrays/Intervals_Based_Qn/Remove Covered Intervals.cpp:150
Method
removeCoveredIntervals
Arrays/Intervals_Based_Qn/Remove Covered Intervals.cpp:15
Function
removeDupUsingStack
Approach-1 (With stack)
Stack/Remove All Adjacent Duplicates In String.cpp:8
Function
removeDuplicateLetters
strings/Remove Duplicate Letters.cpp:158
Method
removeDuplicateLetters
strings/Remove Duplicate Letters.cpp:20
Method
removeDuplicates
Trie/Delete Duplicate Folders in System.cpp:62
Method
removeDuplicates
Arrays/Two Pointer/Remove Duplicates from Sorted Array.cpp:12
Method
removeDuplicates
Stack/Remove All Adjacent Duplicates In String.cpp:29
Method
removeFromSet
Sliding Window/Find X-Sum of All K-Long Subarrays II.cpp:35
Function
removeKdigits
Stack/Remove K Digits.cpp:53
Method
removeKdigits
Stack/Remove K Digits.cpp:15
Method
removeLeafNodes
Tree/Delete Leaves With a Given Value.cpp:15
Method
removeNode
Remove the node from the doubly linked list
Design/All O`one Data Structure.cpp:45
Method
removeNodes
Linked List/Remove Nodes From Linked List.cpp:14
Function
removeNthFromEnd
Linked List/Remove Nth Node From End of List.cpp:96
Method
removeNthFromEnd
Linked List/Remove Nth Node From End of List.cpp:25
Function
removeOccurrences
Stack/Remove All Occurrences of a Substring.cpp:146
Method
removeOccurrences
Stack/Remove All Occurrences of a Substring.cpp:15
Method
removeSenator
Greedy/Dota2 Senate.cpp:12
Method
removeStars
Stack/Removing Stars From a String.cpp:10
Method
removeStones
Graph/BFS_DFS/Most Stones Removed with Same Row or Column.cpp:27
Method
removeStones
Graph/Disjoint Set/Most Stones Removed with Same Row or Column.cpp:42
Method
removeSubfolders
strings/Remove Sub-Folders from the Filesystem.cpp:15
Method
removeSubstring
Stack/Maximum Score From Removing Substrings.cpp:37
Function
removeZeroSumSublists
Linked List/Remove Zero Sum Consecutive Nodes from Linked List.cpp:60
Method
removeZeroSumSublists
Linked List/Remove Zero Sum Consecutive Nodes from Linked List.cpp:14
Method
rent
Design/Design Movie Rental System.cpp:58
Function
reorderList
Linked List/Reorder List.cpp:120
Method
reorderList
Linked List/Reorder List.cpp:15
Function
reorderedPowerOf2
Mathematical/Reordered Power of 2.cpp:175
Method
reorderedPowerOf2
Mathematical/Reordered Power of 2.cpp:21
Function
reorganizeString
Heap/Reorganize String.cpp:13
Method
reorganizeString
Heap/Reorganize String.cpp:65
Method
repairCars
Arrays/Binary Search/Minimum Time to Repair Cars.cpp:29
Method
repeatLimitedString
strings/Construct String With Repeat Limit.cpp:15
Function
repeatedNTimes
HashSet/Leetcode Easy/N-Repeated Element in Size 2N Array.cpp:92
Method
repeatedNTimes
HashSet/Leetcode Easy/N-Repeated Element in Size 2N Array.cpp:15
Function
repeatedSubstringPattern
strings/Repeated Substring Pattern.cpp:49
Method
replaceNonCoprimes
Stack/Replace Non-Coprime Numbers in Array.cpp:15
Function
replaceValueInTree
Tree/Cousins in Binary Tree II.cpp:190
Method
replaceValueInTree
Tree/Cousins in Binary Tree II.cpp:15
Method
replaceWords
Trie/Replace Words.cpp:65
Method
replaceWords
HashSet/Replace Words.cpp:30
Method
report
Design/Design Movie Rental System.cpp:74
Function
reserve
Design/Seat Reservation Manager.cpp:129
Method
reserve
Design/Seat Reservation Manager.cpp:20
Method
reset
Mathematical/Shuffle an Array.cpp:16
Method
resetCell
Design/Design Spreadsheet.cpp:29
Function
restoreArray
HashMap/Restore the Array From Adjacent Pairs.cpp:63
Method
restoreArray
HashMap/Restore the Array From Adjacent Pairs.cpp:27
Method
restoreIpAddresses
strings/Restore IP Addresses.cpp:39
Method
restoreMatrix
Arrays/2-D Array/Find Valid Matrix Given Row and Column Sums.cpp:14
Function
resultsArray
Sliding Window/Find the Power of K-Size Subarrays I.cpp:154
Method
resultsArray
Sliding Window/Find the Power of K-Size Subarrays I.cpp:18
Method
reverse
Linked List/Reverse Nodes in k-Group.cpp:16
Method
reverse
Linked List/Reverse Linked List II.cpp:48
Method
reverse
Arrays/Cumulative_Sum(Prefix Array)/Equal Sum Grid Partition II.cpp:176
Method
reverse
Recursion/Reverse a Stack.cpp:82
Method
reverseArray
Greedy/Maximize Happiness of Selected Children.cpp:87
Method
reverseBetween
Linked List/Reverse Linked List II.cpp:11
Method
reverseBinarySearch
Arrays/Binary Search/Find in Mountain Array.cpp:58
Method
reverseBits
Bit_Magic/Leetcode Easy/Reverse Bits.cpp:15
Method
reverseHelp
Linked List/Reverse Linked List.cpp:41
Method
reverseKGroup
Linked List/Reverse Nodes in k-Group.cpp:25
Method
reverseLL
Linked List/Add Two Numbers II.cpp:11
Method
reverseLL
Linked List/Reorder List.cpp:45
Method
reverseLL
Linked List/Leetcode Easy/Convert Binary Number in a Linked List to Integer.cpp:15
Method
reverseList
Linked List/Palindrome Linked List.cpp:44
Method
reverseList
Linked List/Reverse Linked List.cpp:29
Method
reverseList
Linked List/Double a Number Represented as a Linked List.cpp:16
Method
reverseList
Linked List/Merge 2 sorted linked list in reverse order.cpp:35
Method
reverseList
Linked List/Remove Nodes From Linked List.cpp:79
Function
reverseOddLevels
Tree/Reverse Odd Levels of Binary Tree.cpp:146
Method
reverseOddLevels
Tree/Reverse Odd Levels of Binary Tree.cpp:15
Function
reverseParentheses
Stack/Reverse Substrings Between Each Pair of Parentheses.cpp:111
Method
reverseParentheses
Stack/Reverse Substrings Between Each Pair of Parentheses.cpp:15
Function
reversePrefix
strings/Easy Tagged/Reverse Prefix of Word.cpp:72
Method
reversePrefix
strings/Easy Tagged/Reverse Prefix of Word.cpp:15
Method
reverseRange
Graph/BFS_DFS/Lexicographically Smallest String After Applying Operations.cpp:117
Method
reverseRow
Arrays/2-D Array/Rotating the Box.cpp:161
Method
reverseSolve
Linked List/Reverse Linked List.cpp:16
Method
reverseSubmatrix
Arrays/2-D Array/Leetcode Easy/Flip Square Submatrix Vertically.cpp:15
Method
reverseVowels
Arrays/Two Pointer/Reverse Vowels of a String.cpp:19
Function
reverseWords
strings/Reverse Words in a String III.cpp:57
Method
reverseWords
strings/Reverse Words in a String II.cpp:39
Method
reverseWords
strings/Reverse Words in a String III.cpp:11
Method
reverseWords
strings/Reverse Words in a String.cpp:11
Method
rightHeight
Tree/Count Complete Tree Nodes.cpp:22
Method
rightSideView
Tree/Binary Tree Right Side View.cpp:24
Method
rmv
Remove a task from the system
Design/Design Task Manager.cpp:42
Method
rob
DP/House Robber III.cpp:28
Method
rob
DP/1-D DP/House Robber II.cpp:27
Method
rob
DP/1-D DP/House Robber.cpp:27
Method
robotSim
Arrays/Simulation/Walking Robot Simulation.cpp:15
← previous
next →
2,901–3,000 of 3,557, ranked by callers