Hi, i am trying to solve http://www.spoj.com/problems/WORDS1/ on spoj,i came to know the problem is about checking the graph has euler path or not.
Any one please tell me how to check if a graph has euler path?
Hi, i am trying to solve http://www.spoj.com/problems/WORDS1/ on spoj,i came to know the problem is about checking the graph has euler path or not.
Any one please tell me how to check if a graph has euler path?
Check the following conditions for Euler path to exist:
To actually determine the euler path refer to this excellent tutorial.
Here is another excellent problem on Euler path to try.