Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the values along the path equals targetSum.
A leaf is a node with no children.
Please follow and ask any question to our linkedin profile and twitter or our web site and we will try to help you with answer.
Linkedin
[ Ссылка ]
twitter
[ Ссылка ]
website
[ Ссылка ]
FB
[ Ссылка ]
Here Group of People are sharing their Knowledge about Software Development. They are from different Top MNC. We are doing this for community. It will help student and experience IT Pro to prepare and know about Google, Facebook, Amazon, Microsoft, Apple, Netflix etc and how these company works and what their engineer do.
They will share knowledge about Azure, AWS , Cloud, Python, Java,.Net and other important aspect of Software Development.
![](https://i.ytimg.com/vi/N2yAomjDFDs/maxresdefault.jpg)