I am solving this problem, I have coded along with the video but I am not getting correct answer. Can you tell where I have made mistake? My code is : https://ide.codingblocks.com/s/247604
Holiday Accomodation Problem
@gourav could you send me the question link as your code looks fine i will check it by submitting it there.
@gourav look at line 58 and 59 of your code there should be count[neighbor] you have written count[node].
1 Like