Open vermaaarti opened 11 months ago
Hi @Saikat2407 please assign this issue to me as I am 4* star on codechef and specialist on codeforces. I have a great command in data structures and algorithms solved more than 500 leetcode problems. will surely provide you the all the approaches to solve the problem with best explanation ever.
Hey @Saikat2407, I would like to contribute to this problem, Please do assign it to me.
Where: given the root of a binary tree containing digits from 0 to 9 only.
Each root-to-leaf path in the tree represents a number.
For example, the root-to-leaf path 1 -> 2 -> 3 represents the number 123. Return the total sum of all root-to-leaf numbers. Test cases are generated so that the answer will fit in a 32-bit integer.