In implementation holiday accommodation?

Why have we made Count array we can pass the count recursively also.

like- return 1+ dos_helper(…);

hello @mehulbhandari358
implementation u can do as per ur convenience

ik that
I want to ask if it is correct if we do return 1+dos_helper(…);

yes it is correct