Count leaf nodes in generic tree. Aug 5, 2021 · Given the value of 'N' and 'I'.