I need to find the minimum distance between two nodes in a undirected graph, here are some details
What representation and algorithm should I use for a) Space efficiency b)time efficiency?
EDIT: If it matters,
It depends on the weights of the edges. If they are non-negative - Dijkstra suits you. If your graph is planar, you can use A*.
If you have negative weights, you have to use Bellman-Ford.