test if a sum exists in a binary tree

From http://www.programcreek.com/2013/01/leetcode-path-sum/: test if a sum exists along a path in a binary tree.

Very easy, got it first try. In python:


	        

Leave a comment -

Elliot

https://www.emikek.com

I'm a .NET, PHP, Python, and Javascript developer. Also Project Manager, Scrum Master, and Juilliard trained violist. You cannot connect with me on Facebook, Twitter, or LinkedIn so don't ask.