上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 68 下一页
摘要: 题目如下: 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 阅读(423) 评论(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 阅读(500) 评论(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 阅读(423) 评论(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 阅读(809) 评论(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 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given words first and second, consider occurrences in some text of the form "first second third", where second comes immediately after first, an 阅读全文
posted @ 2019-06-11 16:47 seyjs 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given two numbers arr1 and arr2 in base -2, return the result of adding them together. Each number is given in array format: as an array of 0s a 阅读全文
posted @ 2019-06-11 16:27 seyjs 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 题目如下: For strings S and T, we say "T divides S" if and only if S = T + ... + T (T concatenated with itself 1 or more times) Return the largest string  阅读全文
posted @ 2019-06-10 09:58 seyjs 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffe 阅读全文
posted @ 2019-05-31 16:55 seyjs 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given N, consider a convex N-sided polygon with vertices labelled A[0], A[i], ..., A[N-1] in clockwise order. Suppose you triangulate the polygo 阅读全文
posted @ 2019-05-31 16:05 seyjs 阅读(336) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 68 下一页