Deloitte Interview Question

Q. number of leaves on a tree Q . questions related to R,python,Angular