Beautifu; Vertices

I have used dft in my code .
my code link is

my code is passing only sample test case mentioned in question
https://online.codingblocks.com/player/20942/content/4724/5085
both the test cases are showing run time error plz… help where my code is going wrong.

Hi @akansha2603

Please ask your doubts from the doubt support section of your online course.

mam i have asked this Q using top right ask doubts button of my online course is there any other doubt support section???