MCPcopy Create free account

hub / github.com/MAZHARMIK/Interview_DS_Algo / functions

Functions3,557 in github.com/MAZHARMIK/Interview_DS_Algo

Functionunreserve
Design/Seat Reservation Manager.cpp:134
Methodunreserve
Design/Seat Reservation Manager.cpp:30
MethodunsetBit
Bit_Magic/Minimize XOR.cpp:24
Methodupdate
Mathematical/Square Root Decomposition/Range Sum Query - Mutable.cpp:35
Methodupdate
Bit_Magic/Shortest Subarray With OR at Least K II.cpp:15
Methodupdate
Segment Tree/Range Sum Query - Mutable.cpp:24
MethodupdateFreq
Sliding Window/Find Subarray With Bitwise AND Closest to K.cpp:16
FunctionupdateMatrix
Arrays/2-D Array/01 Matrix.cpp:33
MethodupdateMatrix
DP/01 Matrix.cpp:57
FunctionupdateRange
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
MethodupdateRange
Range add val to [start, end]
Segment Tree/Longest Balanced Subarray II.cpp:82
MethodupdateSegTree
Segment Tree/Block Placement Queries.cpp:68
MethodupdateSegTree
Segment Tree/Range Sum Query - Mutable.cpp:63
MethodupdateSegmentTree
Segment Tree/Count Good Triplets in an Array.cpp:14
Methodupgrade
Design/Operations on Tree.cpp:73
MethodupperBound
Binary search: first index > target
DP/Maximum Walls Destroyed by Robots.cpp:113
MethodupperBound
Arrays/Binary Search/Maximum Fruits Harvested After at Most K Steps.cpp:126
MethodupperBound
Arrays/Binary Search/Find First and Last Position of Element in Sorted Array.cpp:167
MethodupperBound
Arrays/Binary Search/Count the Number of Fair Pairs.cpp:79
MethodupperBound
Design/Implement Router.cpp:176
Methodutility
O(m^2 * n^2)
Arrays/2-D Array/Find the Minimum Area to Cover All Ones II.cpp:54
MethodvalidArrangement
Graph/Euler/Valid Arrangement of Pairs.cpp:15
FunctionvalidPartition
DP/Check if There is a Valid Partition For The Array.cpp:38
MethodvalidPath
Graph/BFS_DFS/Find if Path Exists in Graph.cpp:28
MethodvalidSub
Arrays/2-D Array/Valid Sudoku.cpp:12
MethodvalidateBinaryTreeNodes
Graph/Disjoint Set/Validate Binary Tree Nodes.cpp:43
MethodvalidateBinaryTreeNodes
Tree/Validate Binary Tree Nodes.cpp:16
MethodvalidateCoupons
HashMap/Leetcode Easy/Coupon Code Validator.cpp:29
MethodvalidateStackSequences
Stack/Validate Stack Sequences.cpp:10
MethodvertexCover
Graph/Vertex Cover.cpp:59
Methodvisit
Design/Design Browser History.cpp:17
MethodvowelStrings
Arrays/Cumulative_Sum(Prefix Array)/Count Vowel Strings in Ranges.cpp:19
Methodways
DP/Number of Ways of Cutting a Pizza.cpp:53
MethodwaysToReachStair
DP/Find Number of Ways to Reach the K-th Stair.cpp:45
FunctionwaysToSplitArray
Arrays/Cumulative_Sum(Prefix Array)/Number of Ways to Split Array.cpp:110
MethodwaysToSplitArray
Arrays/Cumulative_Sum(Prefix Array)/Number of Ways to Split Array.cpp:14
MethodwidthOfBinaryTree
Tree/Maximum Width of Binary Tree.cpp:11
MethodwiggleSort
Arrays/Wiggle Sort.cpp:22
FunctionwinnerOfGame
Greedy/Remove Colored Pieces if Both Neighbors are the Same Color.cpp:33
MethodwinnerOfGame
Greedy/Remove Colored Pieces if Both Neighbors are the Same Color.cpp:11
Methodwithdraw
Design/Simple Bank System.cpp:41
MethodwonderfulSubstrings
Bit_Magic/Number of Wonderful Substrings.cpp:15
FunctionwordBreak
DP/Word Break.cpp:133
MethodwordBreak
DP/Word Break.cpp:41
MethodwordBreak
Backtracking/Word Break II.cpp:44
MethodwordPattern
HashMap/Word Pattern.cpp:10
MethodwordSubsets
strings/Word Subsets.cpp:23
MethodxorAfterQueries
Arrays/Difference Array Technique/XOR After Range Multiplication Queries II.cpp:33
MethodxorAfterQueries
Arrays/Leetcode Easy/XOR After Range Multiplication Queries I.cpp:16
FunctionxorAllNums
Bit_Magic/Bitwise XOR of All Pairings.cpp:109
MethodxorAllNums
Bit_Magic/Bitwise XOR of All Pairings.cpp:14
MethodxorQueries
Bit_Magic/XOR Queries of a Subarray.cpp:14
FunctionzeroFilledSubarray
Arrays/Number of Zero-Filled Subarrays.cpp:112
MethodzeroFilledSubarray
Arrays/Number of Zero-Filled Subarrays.cpp:15
FunctionzigZagArrays
DP/Number of ZigZag Arrays I.cpp:235
MethodzigZagArrays
DP/Number of ZigZag Arrays I.cpp:43
Method~trieNode
Trie/Longest Common Suffix Queries.cpp:21
← previous3,501–3,557 of 3,557, ranked by callers