摘要: You are given an inclusive range [lower, upper] and a sorted unique integer array nums, where all elements are in the inclusive range. A number x is c 阅读全文
posted @ 2020-05-13 13:55 CNoodle 阅读(243) 评论(0) 推荐(0)
摘要: You are given a sorted unique integer array nums. A range [a,b] is the set of all integers from a to b (inclusive). Return the smallest sorted list of 阅读全文
posted @ 2020-05-13 12:30 CNoodle 阅读(195) 评论(0) 推荐(0)
摘要: Given the root of a binary tree, calculate the vertical order traversal of the binary tree. For each node at position (row, col), its left and right c 阅读全文
posted @ 2020-05-13 10:52 CNoodle 阅读(230) 评论(0) 推荐(0)
摘要: Given the root of a binary tree, return the vertical order traversal of its nodes' values. (i.e., from top to bottom, column by column). If two nodes 阅读全文
posted @ 2020-05-13 05:47 CNoodle 阅读(287) 评论(0) 推荐(0)
摘要: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequ 阅读全文
posted @ 2020-05-13 02:28 CNoodle 阅读(629) 评论(0) 推荐(0)
摘要: You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once. 阅读全文
posted @ 2020-05-13 00:59 CNoodle 阅读(247) 评论(0) 推荐(0)