How can I find all the simple cycles in an undirected graph?↵
↵
![ ](https://mirror.codeforces.com/c05e34/<a href="https://www.imageupload.net/image/bucGp"><img src="https://img.imageupload.net/2020/11/25/126615260_419079712777006_8560932289449234104_n.png" alt="126615260_419079712777006_85609322894)↵
49234104_n.png" border="0" /></a>↵
In the picture, there are 3 simple cycle:↵
↵
1. 1-2-3↵
↵
2. 1-2-4-5↵
↵
3. 1-3-2-4-5↵
↵
How can I print all of them?↵
↵
↵
In the picture, there are 3 simple cycle:↵
↵
1. 1-2-3↵
↵
2. 1-2-4-5↵
↵
3. 1-3-2-4-5↵
↵
How can I print all of them?↵
↵