653. Two Sum IV - Input is a BST

1
2
# Definition for a binary tree node.
# class TreeNode(object):
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1) Note in Python how to check if a node is None: if a is None

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.