Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to write a program in C# which will find all paths of open flap envelope form graph (or pentagon graph, see Picture link) without repetition and without lifting the pen;
Example solutions are: 321542534; 451234253.
- pls see what I've tried so far
- Picture link
- this is an unweighted undirected graph
- to make the path vertices can be visited more that once
- all vertices must be visited
- no edge repetition

Please help me, I'm new to coding :) tnx

What I have tried:

I tried so far:
Detect cycle in an undirected graph - GeeksforGeeks[^]
Shortest cycle in an undirected unweighted graph - GeeksforGeeks[^]
Posted
Updated 2-Jun-20 5:08am
Comments
F-ES Sitecore 2-Jun-20 10:21am    
This isn't a code-on-deman site where we do your homework for you. If someone else does your work then you have learned nothing yourself. Break the problem up into smaller chunks and solve them individually. Feel free to ask specific questions about specific problems, but we aren't going to do it all for you.
skp2235 2-Jun-20 10:31am    
Thanks for your helpful answer :)
Richard MacCutchan 2-Jun-20 11:30am    
"Please help me, I'm new to coding"
Forget this and spend some time learning C# and the fundamental .NET classes.
skp2235 2-Jun-20 17:12pm    
Wow, thanks for your helpful answer :)

1 solution

 
Share this answer
 
Comments
skp2235 2-Jun-20 17:12pm    
Thanks but it doesn't help. This algorithm prints shortest paths, I want specific path like my question

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900