Find a simple cycle in a weighted undirected graph whose length lies in a given user defined range?

This seems like a fundamentally algorithmic problem, rather than an implementation-specific one, so I have provided detailed, high-level pseudocode for the algorithm rather than actual code. Also, I don't know C++. Let me know if any of the syntax/logic is unclear, and I can clarify some more.

It essentially does a DFS, but doesn't stop when it finds the value: it continues searching, and reports all paths to the value (which meet the given distance criterion).

Depth first is fine. You have to abort when.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions