HashedIn by Deloitte Interview Question

Root to leaf path sum equal to a given number https://www-geeksforgeeks-