gauravMother Vertex In Graph Theory// Mother vertex is a vertex in which we can reach is every other vertex in //graph1 min read·Jun 26, 2021----
gauravAterp is the head nurse at a city hospital.// simple bfs technique solve this problem2 min read·Jun 24, 2021----
gauravHamiltonian Cycle Backtracking Algorithm {NP hard problem}/*hamilton cycle is cycle in graph when we start from on node in a graph so we came same node in a graph covering all nodes and not visit…2 min read·Jun 23, 2021----
gauravPrint All Permutation in Array BackTracking algorithmvoid permutation(vector<vector<int> >&v, vector<int> rec,vector<int>nums,bool vis[]) { if(rec.size()==nums.size()) { v.push_back(rec)…1 min read·Jun 23, 2021----
gauravGraph Coloring Algorithm (Backtracking)// In this algorithm given a graph then we color every node but adjacent //node have not same color1 min read·Jun 22, 2021----
gauravStrongly Connected Components (Kosaraju’s Algorithm )// C++ code to find SCC1 min read·Jun 22, 2021----
gauravCycle Detection in Directed Graph(DG)// C++ code foor Detect Cycle In Directed Graph1 min read·Jun 22, 2021----
gauravLetter Combinations of a Phone NumberBacktracking and Recursion question1 min read·Jun 20, 2021----