摘要:
题目如下: Given the root of a binary search tree with distinct values, modify it so that every node has a new value equal to the sum of the values of the 阅读全文
posted @ 2019-06-15 06:18
seyjs
阅读(426)
评论(0)
推荐(0)
摘要:
题目如下: Given the root of a binary tree, consider all root to leaf paths: paths from the root to any leaf. (A leaf is a node with no children.) A node i 阅读全文
posted @ 2019-06-15 06:14
seyjs
阅读(507)
评论(0)
推荐(0)
摘要:
题目如下: Given a matrix consisting of 0s and 1s, we may choose any number of columns in the matrix and flip every cell in that column. Flipping a cell ch 阅读全文
posted @ 2019-06-15 06:08
seyjs
阅读(434)
评论(0)
推荐(0)
摘要:
题目如下: You have a set of tiles, where each tile has one letter tiles[i]printed on it. Return the number of possible non-empty sequences of letters you 阅读全文
posted @ 2019-06-15 06:00
seyjs
阅读(821)
评论(0)
推荐(0)
摘要:
题目如下: Return the lexicographically smallest subsequence of text that contains all the distinct characters of text exactly once. Example 1: Example 2: 阅读全文
posted @ 2019-06-15 05:57
seyjs
阅读(435)
评论(0)
推荐(0)
浙公网安备 33010602011771号