摘要: [抄题]: 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. 阅读全文
posted @ 2018-08-21 23:08 苗妙苗 阅读(139) 评论(0) 推荐(0)
摘要: [抄题]: Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and 阅读全文
posted @ 2018-08-21 21:50 苗妙苗 阅读(308) 评论(0) 推荐(0)
摘要: [抄题]: We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the 阅读全文
posted @ 2018-08-21 10:37 苗妙苗 阅读(256) 评论(0) 推荐(0)