i have passed the test case.even i tried dry and it gives correct ans.but after submission wrong answer is showing.
please do clear my doubt asap.
Beautiful verticeshttps://online.codingblocks.com/app/player/59553/content/65992/5085/code-challenge
you have consider it as directed graph but
this is undirected graph as it is not mentioned that it is directed
and keep in mind that master vertices is not beautiful vertices
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.