摘要:
You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t 阅读全文
摘要:
We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer arra 阅读全文
摘要:
Given a binary tree and a sum, find all root to leaf paths where each path's sum equals the given sum. Note: A leaf is a node with no children. Exampl 阅读全文