What are cnt0, cnt1 are counting?

What are cnt0, cnt1 are counting?

@Sparda947 cnt0 are even numbered nodes and cnt1 are odd numbered. they are used in calculation the ways for our final ans. (2^cnt1* … , see the full video)
hope its cleared if yes dont forget to hit like and mark resolved :smiley:

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.