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
Function
unreserve
Design/Seat Reservation Manager.cpp:134
Method
unreserve
Design/Seat Reservation Manager.cpp:30
Method
unsetBit
Bit_Magic/Minimize XOR.cpp:24
Method
update
Mathematical/Square Root Decomposition/Range Sum Query - Mutable.cpp:35
Method
update
Bit_Magic/Shortest Subarray With OR at Least K II.cpp:15
Method
update
Segment Tree/Range Sum Query - Mutable.cpp:24
Method
updateFreq
Sliding Window/Find Subarray With Bitwise AND Closest to K.cpp:16
Function
updateMatrix
Arrays/2-D Array/01 Matrix.cpp:33
Method
updateMatrix
DP/01 Matrix.cpp:57
Function
updateRange
C++ ******************************************/ T.C : O(logn) S.C : O(n) Assuming we have defined segmentTree[4*n] and lazyTree[4*n]
Segment Tree/Lazy Propagation Range Update.cpp:14
Method
updateRange
Range add val to [start, end]
Segment Tree/Longest Balanced Subarray II.cpp:82
Method
updateSegTree
Segment Tree/Block Placement Queries.cpp:68
Method
updateSegTree
Segment Tree/Range Sum Query - Mutable.cpp:63
Method
updateSegmentTree
Segment Tree/Count Good Triplets in an Array.cpp:14
Method
upgrade
Design/Operations on Tree.cpp:73
Method
upperBound
Binary search: first index > target
DP/Maximum Walls Destroyed by Robots.cpp:113
Method
upperBound
Arrays/Binary Search/Maximum Fruits Harvested After at Most K Steps.cpp:126
Method
upperBound
Arrays/Binary Search/Find First and Last Position of Element in Sorted Array.cpp:167
Method
upperBound
Arrays/Binary Search/Count the Number of Fair Pairs.cpp:79
Method
upperBound
Design/Implement Router.cpp:176
Method
utility
O(m^2 * n^2)
Arrays/2-D Array/Find the Minimum Area to Cover All Ones II.cpp:54
Method
validArrangement
Graph/Euler/Valid Arrangement of Pairs.cpp:15
Function
validPartition
DP/Check if There is a Valid Partition For The Array.cpp:38
Method
validPath
Graph/BFS_DFS/Find if Path Exists in Graph.cpp:28
Method
validSub
Arrays/2-D Array/Valid Sudoku.cpp:12
Method
validateBinaryTreeNodes
Graph/Disjoint Set/Validate Binary Tree Nodes.cpp:43
Method
validateBinaryTreeNodes
Tree/Validate Binary Tree Nodes.cpp:16
Method
validateCoupons
HashMap/Leetcode Easy/Coupon Code Validator.cpp:29
Method
validateStackSequences
Stack/Validate Stack Sequences.cpp:10
Method
vertexCover
Graph/Vertex Cover.cpp:59
Method
visit
Design/Design Browser History.cpp:17
Method
vowelStrings
Arrays/Cumulative_Sum(Prefix Array)/Count Vowel Strings in Ranges.cpp:19
Method
ways
DP/Number of Ways of Cutting a Pizza.cpp:53
Method
waysToReachStair
DP/Find Number of Ways to Reach the K-th Stair.cpp:45
Function
waysToSplitArray
Arrays/Cumulative_Sum(Prefix Array)/Number of Ways to Split Array.cpp:110
Method
waysToSplitArray
Arrays/Cumulative_Sum(Prefix Array)/Number of Ways to Split Array.cpp:14
Method
widthOfBinaryTree
Tree/Maximum Width of Binary Tree.cpp:11
Method
wiggleSort
Arrays/Wiggle Sort.cpp:22
Function
winnerOfGame
Greedy/Remove Colored Pieces if Both Neighbors are the Same Color.cpp:33
Method
winnerOfGame
Greedy/Remove Colored Pieces if Both Neighbors are the Same Color.cpp:11
Method
withdraw
Design/Simple Bank System.cpp:41
Method
wonderfulSubstrings
Bit_Magic/Number of Wonderful Substrings.cpp:15
Function
wordBreak
DP/Word Break.cpp:133
Method
wordBreak
DP/Word Break.cpp:41
Method
wordBreak
Backtracking/Word Break II.cpp:44
Method
wordPattern
HashMap/Word Pattern.cpp:10
Method
wordSubsets
strings/Word Subsets.cpp:23
Method
xorAfterQueries
Arrays/Difference Array Technique/XOR After Range Multiplication Queries II.cpp:33
Method
xorAfterQueries
Arrays/Leetcode Easy/XOR After Range Multiplication Queries I.cpp:16
Function
xorAllNums
Bit_Magic/Bitwise XOR of All Pairings.cpp:109
Method
xorAllNums
Bit_Magic/Bitwise XOR of All Pairings.cpp:14
Method
xorQueries
Bit_Magic/XOR Queries of a Subarray.cpp:14
Function
zeroFilledSubarray
Arrays/Number of Zero-Filled Subarrays.cpp:112
Method
zeroFilledSubarray
Arrays/Number of Zero-Filled Subarrays.cpp:15
Function
zigZagArrays
DP/Number of ZigZag Arrays I.cpp:235
Method
zigZagArrays
DP/Number of ZigZag Arrays I.cpp:43
Method
~trieNode
Trie/Longest Common Suffix Queries.cpp:21
← previous
3,501–3,557 of 3,557, ranked by callers