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
book
Arrays/Intervals_Based_Qn/My Calendar I.cpp:24
Method
book
Arrays/Intervals_Based_Qn/My Calendar II.cpp:30
Method
book
Line Sweep Technique/My Calendar III.cpp:21
Method
book
Line Sweep Technique/My Calendar II.cpp:20
Method
bottomUp
DP/Minimum Cost For Tickets.cpp:53
Method
bottom_up_1
DP/Decode Ways.cpp:55
Method
bottom_up_2
DP/Decode Ways.cpp:86
Method
breakPalindrome
Greedy/Break a Palindrome.cpp:9
Method
brokenCalc
Greedy/Broken Calculator.cpp:9
Method
bstToGst
Tree/BST/Binary Search Tree to Greater Sum Tree.cpp:32
Method
buddyStrings
strings/Buddy Strings.cpp:23
Method
build
Segment Tree/Fruits Into Baskets II and III.cpp:16
Method
buildAdj
Graph/BFS_DFS/Find Minimum Diameter After Merging Two Trees.cpp:67
Method
buildAncestorTable
Binary Lifting/Number of Ways to Assign Edge Weights II.cpp:35
Method
buildAnswer
Arrays/2-D Array/Get Biggest Three Rhombus Sums in a Grid.cpp:188
Method
buildArray
Stack/Build an Array With Stack Operations.cpp:13
Method
buildBT
Tree/Construct Binary Tree from Inorder and Postorder Traversal.cpp:9
Method
buildGraph
Graph/Topological Sorting/Alien Dictionary.cpp:45
Function
buildMatrix
Graph/Topological Sorting/Build a Matrix With Conditions.cpp:236
Method
buildMatrix
Graph/Topological Sorting/Build a Matrix With Conditions.cpp:66
Method
buildSegmentTree
Heap/Maximum Total Subarray Value II.cpp:26
Method
buildSegmentTree
Segment Tree/Range Minimum Query.cpp:65
Method
buildSegmentTree
Builds the segment tree using the max function and stores indices
Segment Tree/Find Building Where Alice and Bob Can Meet.cpp:16
Method
buildSegmentTree
Builds the segment tree using the max function and stores indices
Segment Tree/Range Maximum Index Query.cpp:14
Method
buildSegmentTree
Segment Tree/Sum of Query II.cpp:17
Method
buildSegmentTree
Segment Tree/Range Sum Query - Mutable.cpp:51
Method
buildSet
Mathematical/Reordered Power of 2.cpp:44
Method
buildSieve
Graph/BFS_DFS/Minimum Jumps to Reach End via Prime Teleportation.cpp:18
Method
buildString
strings/Backspace String Compare.cpp:13
Method
buildTree
Tree/Construct Binary Tree from Preorder and Inorder Traversal.cpp:32
Method
buildTree
Tree/Construct Binary Tree from Inorder and Postorder Traversal.cpp:31
Method
bulbSwitch
Mathematical/Bulb Switcher.cpp:9
Function
buyChoco
Arrays/Leetcode Easy/Buy Two Chocolates.cpp:38
Method
buyChoco
Arrays/Leetcode Easy/Buy Two Chocolates.cpp:12
Method
calcEquation
Graph/Evaluate Division.cpp:30
Method
calculate
Stack/Basic Calculator.cpp:10
Function
calculateMinimumHP
DP/DP on Grids/Dungeon Game.cpp:214
Method
calculateMinimumHP
DP/DP on Grids/Dungeon Game.cpp:38
Method
canAllReachZero
Graph/BFS_DFS/Minimize the Maximum Edge Weight of Graph.cpp:18
Method
canArrange
HashMap/Check If Array Pairs Are Divisible by k.cpp:15
Method
canAttendMeetings
Arrays/Intervals_Based_Qn/Meeting Rooms.cpp:23
Function
canBeEqual
Arrays/Leetcode Easy/Make Two Arrays Equal by Reversing Subarrays.cpp:76
Function
canBeEqual
HashMap/Leetcode Easy/Check if Strings Can be Made Equal With Operations I.cpp:87
Method
canBeEqual
Arrays/Leetcode Easy/Make Two Arrays Equal by Reversing Subarrays.cpp:15
Method
canBeEqual
HashMap/Leetcode Easy/Check if Strings Can be Made Equal With Operations I.cpp:15
Method
canBeTypedWords
strings/Easy Tagged/Maximum Number of Words You Can Type.cpp:14
Function
canBeValid
Stack/Check if a Parentheses String Can Be Valid.cpp:147
Method
canBeValid
Stack/Check if a Parentheses String Can Be Valid.cpp:15
Function
canChange
strings/Move Pieces to Obtain a String.cpp:103
Method
canChange
strings/Move Pieces to Obtain a String.cpp:45
Method
canCompleteCircuit
Greedy/Gas Station.cpp:12
Method
canConstruct
strings/Construct K Palindrome Strings.cpp:15
Method
canCross
Arrays/Binary Search/Last Day Where You Can Still Cross.cpp:37
Method
canDistr
Arrays/Binary Search/Maximum Candies Allocated to K Children.cpp:54
Method
canEatAll
Arrays/Binary Search/Koko Eating Bananas.cpp:12
Method
canFinish
Graph/Topological Sorting/Course Schedule.cpp:49
Method
canJump
DP/Jump Game.cpp:11
Method
canMakeArithmeticProgression
Mathematical/Can Make Arithmetic Progression From Sequence.cpp:11
Method
canMakeSubsequence
strings/Make String a Subsequence Using Cyclic Increments.cpp:15
Function
canPair
HashSet/Array Pair Sum Divisibility Problem.cpp:84
Method
canPair
Arrays/Array Pair Sum Divisibility Problem.cpp:9
Method
canPair
HashSet/Array Pair Sum Divisibility Problem.cpp:13
Function
canPartition
DP/Partition Equal Subset Sum.cpp:193
Function
canPartition
DP/Knapsack Series/Partition Equal Subset Sum (Bottom UP & Memo).cpp:188
Method
canPartition
DP/Partition Equal Subset Sum.cpp:39
Method
canPartition
DP/Knapsack Series/Partition Equal Subset Sum (Bottom UP & Memo).cpp:37
Method
canPartitionGrid
Arrays/Cumulative_Sum(Prefix Array)/Equal Sum Grid Partition II.cpp:49
Method
canPartitionGrid
Arrays/Cumulative_Sum(Prefix Array)/Equal Sum Grid Partition I.cpp:16
Method
canPartitionKSubsets
Backtracking/Partition to K Equal Sum Subsets.cpp:45
Method
canPlaceFlowers
Arrays/Can Place Flowers.cpp:9
Function
canReach
DP/Jump Game VII.cpp:162
Function
canReach
Arrays/Jump Game III.cpp:137
Method
canReach
DP/Jump Game VII.cpp:40
Method
canReach
Arrays/Jump Game III.cpp:29
Method
canReorderDoubled
HashMap/Array of Doubled Pairs.cpp:8
Function
canSortArray
Arrays/Find if Array Can Be Sorted.cpp:138
Method
canSortArray
Arrays/Find if Array Can Be Sorted.cpp:15
Method
canSurvive
DP/DP on Grids/Dungeon Game.cpp:17
Function
canTraverseAllPairs
Graph/Disjoint Set/Greatest Common Divisor Traversal.cpp:155
Method
canTraverseAllPairs
Graph/Disjoint Set/Greatest Common Divisor Traversal.cpp:64
Method
canVisitAllRooms
Graph/Keys and Rooms.cpp:21
Function
candy
Greedy/Candy.cpp:159
Method
candy
Greedy/Candy.cpp:15
Function
carPooling
Line Sweep Technique/Car Pooling.cpp:109
Method
carPooling
Line Sweep Technique/Car Pooling.cpp:15
Function
chalkReplacer
Arrays/Find the Student that Will Replace the Chalk.cpp:81
Method
chalkReplacer
Arrays/Find the Student that Will Replace the Chalk.cpp:15
Function
champagneTower
DP/Champagne Tower.cpp:115
Method
champagneTower
DP/Champagne Tower.cpp:39
Function
change
DP/Coin Change II.cpp:37
Function
change
Design/Design a Number Container System.cpp:141
Method
change
DP/Coin Change II.cpp:66
Method
change
Design/Design a Number Container System.cpp:23
Function
changeRating
Design/Design a Food Rating System.cpp:90
Method
changeRating
Design/Design a Food Rating System.cpp:37
Method
check
strings/Minimum Time to Revert Word to Initial State I.cpp:14
Method
check
Graph/Dijkstra'a Based Problems/Network Recovery Pathways.cpp:17
Method
check
Graph/BFS_DFS/Find if Path Exists in Graph.cpp:13
Method
check
Graph/Disjoint Set/Maximize Spanning Tree Stability with Upgrades.cpp:56
Method
check
DP/Interleaving String.cpp:95
← previous
next →
801–900 of 3,557, ranked by callers