摘要: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path. 阅读全文
posted @ 2020-03-22 12:12 CNoodle 阅读(423) 评论(0) 推荐(0)
摘要: You are given the root of a binary tree containing digits from 0 to 9 only. Each root-to-leaf path in the tree represents a number. For example, the r 阅读全文
posted @ 2020-03-22 11:59 CNoodle 阅读(460) 评论(0) 推荐(0)
摘要: Given the root of a complete binary tree, return the number of the nodes in the tree. According to Wikipedia, every level, except possibly the last, i 阅读全文
posted @ 2020-03-22 03:22 CNoodle 阅读(319) 评论(0) 推荐(0)