https://hack.codingblocks.com/practice/p/371/783
why my 2nd test case in not passed…any body who would like to help thanks in advance.
link to code…
https://ide.codingblocks.com/s/71165
https://hack.codingblocks.com/practice/p/371/783
why my 2nd test case in not passed…any body who would like to help thanks in advance.
link to code…
https://ide.codingblocks.com/s/71165
Wrong test Case
6 6
1 2
2 3
3 4
4 1
5 6
6 5
Your output
6
Correct output
2
As you can invite Person Number - 5 , 6
Hit like if u get it : )