Code Link->https://ide.codingblocks.com/s/286192
only two test case was accepted.
Sakshi And Art not submitted
Your logic is incorrect.You need to make a euler path which can be made without combining all connected component.
Please see below code:
Hi @Mohitpandey29 , can you please explain why my code was not excuted properly. In your code you basically find the number of component in cnt variable and what is the use of variable t in code?