Top "Graph-algorithm" questions

Graph Algorithms are a sequence of well-defined steps that will solve a problem related to Graph Theory, where a Graph in this context is a collection of vertices ("nodes") and edges that connect these vertices.

VF2 algorithm steps with example

Can someone explain the steps of the VF2 algorithm for graph isomorphism in simple words? I am learning this algorithm, …

algorithm graph graph-algorithm isomorphism
Does a Given Network has a Unique Min-Cut?

Let G = (V, E) be a network with s and t being the source and the sink. Let f be …

graph-algorithm max-flow network-flow
How to convert an undirected graph to a DAG?

The Wiki page says Any undirected graph may be made into a DAG by choosing a total order for its …

algorithm graph-theory graph-algorithm
How to compute a minimum bottleneck spanning tree in linear time?

We can find a minimum bottleneck spanning tree in O(E log*V) in the worst case by using Kruskal's …

algorithm language-agnostic graph-theory graph-algorithm minimum-spanning-tree
Implementation of BFS, DFS and Dijkstra

Is it true that the implementation of BFS, DFS and Dijkstra are almost the same, except that BFS uses queue, …

graph-algorithm dijkstra breadth-first-search depth-first-search
graph coloring using BFS - greedy coloring?

Thinking if I can implement graph coloring using BFS, I came up with the approach pseudo coded below. Though it …

algorithm graph-algorithm graph-coloring
Algorithm to simplify a weighted directed graph of debts

I've been using a little python script I wrote to manage debt amongst my roommates. It works, but there are …

algorithm graph-theory graph-algorithm
What is PageRanks Big-O complexity?

I'm searching for the Big-O complexity of PageRank algorithm. I hardly could found anything, I just found O(n+m) ( …

algorithm graph time-complexity graph-algorithm pagerank
Solve n-puzzle in Java

I'm trying to implement a program to solve the n-puzzle problem. I have written a simple implementation in Java that …

java search artificial-intelligence graph-algorithm sliding-tile-puzzle
Computing target number from numbers in a set

I'm working on a homework problem that asks me this: Tiven a finite set of numbers, and a target number, …

algorithm numbers graph-algorithm