66. Plus One 题目 Given a non-negative integer represented as a non-empty array of digits, plus one to the integ…
分类:LeetCode题目解答
108. Convert Sorted Array to Binary Search Tree
欢迎fork and star:Nowcoder-Repository-github 108. Convert Sorted Array to Binary Search Tree 题目 Given an array w…
171. Excel Sheet Column Number
Given a column title as appear in an Excel sheet, return its corresponding column number.For example: A -> …
284. Peeking Iterator
Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator t…
228. Summary Ranges
Given a sorted integer array without duplicates, return the summary of its ranges.Example 1: Input: [0,1,2,4,5…
[Leetcode] Closest Binary Search Tree Value 最近二叉搜索树值
Closest Binary Search Tree Value I Given a non-empty binary search tree and a target value, find the value in …
[LeetCode] Increasing Subsequences 递增子序列
Given an integer array, your task is to find all the different possible increasing subsequences of the …
144. Binary Tree Preorder Traversal
欢迎fork and star:Nowcoder-Repository-github 二叉树的递归与非递归实现 144. Binary Tree Preorder Traversal 题目 Given a binary …
[LeetCode] Excel Sheet Column Number 求Excel表列序号
Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corr…
[LeetCode] Integer Break 整数拆分
Given a positive integer n, break it into the sum of at least two positive integers and maximize the pr…
【leetcode】58. Length of Last Word 字符串的末尾词的长度
1. 题目 Given a string s consists of upper/lower-case alphabets and empty space characters ‘ ‘, retu…
【leetcode】56. Merge Intervals 相邻线段归并
1. 题目 Given a collection of intervals, merge all overlapping intervals. For example,Given [1,3],[2,6],[8,10],[…