The code gives the write answer for articulation points and the number of components if the add the edges manually instead of taking them as a string input. But when i take the input as a string and then convert those to edges i’m not getting the right output. I guess there is some flaw in my addedg() function. Kindly see.
code- https://ide.codingblocks.com/s/339345
My code is not wokring
Hi Aman, you were making a silly mistake in line 112, j<m should be the condition!
also time is a reserved keyword so take different name!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.