plz give me intuition for this problem , I mean HOW AND why its working count all odd degree vertices