摘要:
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 阅读全文
posted @ 2018-10-10 10:51
bernieloveslife
阅读(100)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-10-10 10:51
bernieloveslife
阅读(98)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2018-10-10 10:51
bernieloveslife
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号