Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mehulcoder/Coding-ninjas-competitive
/ functions
Functions
306 in github.com/Mehulcoder/Coding-ninjas-competitive
⨍
Functions
306
◇
Types & classes
14
↓ 3 callers
Function
possibleMoves
Game Theory/game_of_othello.cpp:7
↓ 2 callers
Function
findParent
Advanced Graphs/Airport2.cpp:57
↓ 2 callers
Function
insert
Inserts pre_xor to trie with given root
Tries/maximumxorsub.cpp:49
↓ 2 callers
Function
insert
Tries/autocomplete.cpp:16
↓ 2 callers
Function
insert
Tries/help pradyumna.cpp:16
↓ 2 callers
Function
iseligible
To check if the index is an eligible index for our cake
Graphs1/largestpiece.cpp:13
↓ 2 callers
Function
makeAMove
Game Theory/game_of_othello.cpp:37
↓ 2 callers
Function
newNode
Utility function tp create a Trie node
Tries/maximumxorsub.cpp:40
↓ 2 callers
Function
query
Segment Trees/evenodd.cpp:77
↓ 1 callers
Function
Connected_Components
Graphs1/Connected_component_DFS.cpp:20
↓ 1 callers
Function
DFS
Graphs1/Connected_component_DFS.cpp:8
↓ 1 callers
Function
DFS
Graphs1/Islandsc.cpp:31
↓ 1 callers
Function
FindTriplet
Language-Tools/Tripletsum.cpp:21
↓ 1 callers
Function
FindUnique
Language-Tools/Find-the-Unique-Element.cpp:22
↓ 1 callers
Function
Get_Path
Graphs1/Get_Path_DFS.cpp:7
↓ 1 callers
Function
MissingNumber
Language-Tools/Duplicateinarray.cpp:24
↓ 1 callers
Function
PairSum
Language-Tools/Pairsumtozero.cpp:22
↓ 1 callers
Function
area
Computational Geometry/areaOfConvexPolygon.cpp:47
↓ 1 callers
Function
balancedBTs
Modulo Arithmetic/Balancesbst.cpp:12
↓ 1 callers
Function
buildPower
Segment Trees/twovsthreee.cpp:51
↓ 1 callers
Function
buildTree
Segment Trees/twovsthreee.cpp:56
↓ 1 callers
Function
check
Graphs1/codingninjas.cpp:1
↓ 1 callers
Function
checkHorizontal
this function checks for the current word if it can be placed horizontally or not x -> it represent index of row y -> it represent index of column cur
Backtracking/check.cpp:23
↓ 1 callers
Function
checkVertical
this function checks for the current word if it can be placed vertically or not x -> it represent index of row y -> it represent index of column curre
Backtracking/check.cpp:52
↓ 1 callers
Function
complete
Tries/autocomplete.cpp:51
↓ 1 callers
Function
complete
Tries/help pradyumna.cpp:51
↓ 1 callers
Function
connect
Advanced Graphs/Kingdom.cpp:60
↓ 1 callers
Function
connected
Graphs1/Allconnectedcomponents.cpp:14
↓ 1 callers
Function
countPalindromeSubstrings
String/palindromecount.cpp:94
↓ 1 callers
Function
countPalindromes
String/palindromecount.cpp:49
↓ 1 callers
Function
countStrings
DPandbitmasking/Countingstrings.cpp:59
↓ 1 callers
Function
countWaysToMakeChange
DP1(Very important)/coinchange.cpp:37
↓ 1 callers
Function
create
Segment Trees/Maxsum.cpp:96
↓ 1 callers
Function
create
tree will store even count
Segment Trees/evenodd.cpp:113
↓ 1 callers
Function
create
Segment Trees/Maxpairsim.cpp:104
↓ 1 callers
Function
create
Segment Trees/Minimuminsub.cpp:87
↓ 1 callers
Function
create
tree will store even count
Segment Trees/VasyaandRhezo.cpp:89
↓ 1 callers
Function
create
Segment Trees/segsqr.cpp:264
↓ 1 callers
Function
create
Advanced Graphs/Airportwrong.cpp:63
↓ 1 callers
Function
crossWordHelper
Backtracking/Crossword.cpp:162
↓ 1 callers
Function
dfs
Backtracking/Fillthematrix.cpp:83
↓ 1 callers
Function
dfs
Tries/autocomplete.cpp:41
↓ 1 callers
Function
dfs
Tries/help pradyumna.cpp:41
↓ 1 callers
Function
dfs
Advanced Graphs/Connectedhorses.cpp:60
↓ 1 callers
Function
dfs
Advanced Graphs/Matrix.cpp:77
↓ 1 callers
Function
dfs
Advanced Graphs/Kingdom.cpp:44
↓ 1 callers
Function
dfs
Advanced Graphs/Bottom.cpp:67
↓ 1 callers
Function
dfs
Advanced Graphs/Permutationsswap.cpp:46
↓ 1 callers
Function
dfs1
Advanced Graphs/Dominos.cpp:29
↓ 1 callers
Function
dfs2
Advanced Graphs/Dominos.cpp:46
↓ 1 callers
Function
dfs2
Advanced Graphs/Bottom.cpp:52
↓ 1 callers
Function
dfsz
Backtracking/Fillthematrix.cpp:70
↓ 1 callers
Function
distance
DP1(Very important)/Hasanandtrip.cpp:42
↓ 1 callers
Function
editDistance
Dynamic programming 2/Editdistance.cpp:37
↓ 1 callers
Function
evaluateBoard
Game Theory/game_of_othello.cpp:21
↓ 1 callers
Function
fill_vector
Advanced Graphs/Connectedhorses.cpp:90
↓ 1 callers
Function
findFare
Dynamic programming 2/Miserman.cpp:36
↓ 1 callers
Function
findNextStep
Game Theory/game_of_othello.cpp:110
↓ 1 callers
Function
findSmallest
Greedy/Winninglottery.cpp:67
↓ 1 callers
Function
findString
String/KMP.cpp:40
↓ 1 callers
Function
find_touches
DPandbitmasking/Diliema.cpp:31
↓ 1 callers
Function
getComponent
Advanced Graphs/Permutationsswap.cpp:58
↓ 1 callers
Function
getMaxMoney
DP1(Very important)/Loot.cpp:32
↓ 1 callers
Function
getMin
DP1(Very important)/minchoc.cpp:36
↓ 1 callers
Function
getMinDiff
Greedy/Problemdiscussion.cpp:39
↓ 1 callers
Function
getOutput
Advanced Graphs/Airport2.cpp:66
↓ 1 callers
Function
getPath
Graphs1/getpathbfs.cpp:6
↓ 1 callers
Function
go
DPandbitmasking/Candy.cpp:51
↓ 1 callers
Function
go
DPandbitmasking/Countingstrings.cpp:43
↓ 1 callers
Function
go
Searching and sorting applications/Murderer.cpp:50
↓ 1 callers
Function
go
Searching and sorting applications/Aggressive cows.cpp:43
↓ 1 callers
Function
go
Searching and sorting applications/Tajmahalentry.cpp:28
↓ 1 callers
Function
go
Searching and sorting applications/Distrributecandies.cpp:26
↓ 1 callers
Function
go
Searching and sorting applications/Momos market.cpp:109
↓ 1 callers
Function
go
adhoc problems/Intrestingsequences.cpp:68
↓ 1 callers
Function
go
adhoc problems/Circularlist.cpp:42
↓ 1 callers
Function
go
Returns -1 if not possible
adhoc problems/winning.cpp:53
↓ 1 callers
Function
go
DP1(Very important)/Adjacentbit.cpp:51
↓ 1 callers
Function
go
DP1(Very important)/AlphaCode-Question.cpp:54
↓ 1 callers
Function
go
DP1(Very important)/Vanya and gcd.cpp:31
↓ 1 callers
Function
go
DP1(Very important)/Mergegrid.cpp:48
↓ 1 callers
Function
go
DP1(Very important)/angrychildren.cpp:49
↓ 1 callers
Function
go
DP1(Very important)/jonsnow.cpp:37
↓ 1 callers
Function
go
DP1(Very important)/Hasanandtrip.cpp:50
↓ 1 callers
Function
go
DP1(Very important)/Maximumsum.cpp:48
↓ 1 callers
Function
go
Dynamic programming 2/Party.cpp:59
↓ 1 callers
Function
go
Dynamic programming 2/Smallestsuperseq.cpp:29
↓ 1 callers
Function
go
Dynamic programming 2/Subsetsum.cpp:30
↓ 1 callers
Function
go
Dynamic programming 2/Balikavadhu.cpp:152
↓ 1 callers
Function
go
Advanced Graphs/Kingdom.cpp:85
↓ 1 callers
Function
go
Greedy/Perimeter.cpp:44
↓ 1 callers
Function
go
Greedy/Activityselection.cpp:33
↓ 1 callers
Function
go
Greedy/Nikunjanddonuts.cpp:32
↓ 1 callers
Function
go
Greedy/FractionalKnapsack.cpp:38
↓ 1 callers
Function
grundy
Game Theory/grundy_numbers.cpp:29
↓ 1 callers
Function
hasPath
Graphs1/haspath.cpp:45
↓ 1 callers
Function
helper
Assignment1/Collecting the balls.cpp:46
↓ 1 callers
Function
helper
Graphs1/3cycle.cpp:1
↓ 1 callers
Function
helper
Graphs1/Board.cpp:37
↓ 1 callers
Function
isPossible
Backtracking/Nqueens.cpp:18
next →
1–100 of 306, ranked by callers