GeeksforGeeks » Interview Questions

Adobe Interview Question for Software Engineer/Developer (Fresher) about Algorithms, Arrays, Data St

(1 post)
  • Started 4 months ago by Shubhra
  1. Shubhra
    guest
    Posted 4 months ago #

    Given a Binary Tree and its depth d find the number of leaf nodes in that tree.

    Note - In Geeks for Geeks the solution given for this problem is a recursive one without using any depth, but here in this question we need to make use of the depth d in some way to give the solution.


Reply

You must log in to post.

RSS feed for this topic