Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb"Output: 3 Explanation: The answer i ...
分类:
其他好文 时间:
2019-12-30 09:34:59
阅读次数:
59
题目描述:给一个二叉树,返回该二叉树的最大深度 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root nod ...
分类:
其他好文 时间:
2019-12-30 09:21:14
阅读次数:
77
题目描述:给予两个二叉树 t1 , t2 ,合并他们。 Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overl ...
分类:
其他好文 时间:
2019-12-30 09:14:14
阅读次数:
78
原题链接在这里:https://leetcode.com/problems/minimum-area-rectangle-ii/ 题目: Given a set of points in the xy-plane, determine the minimum area of any rectangl ...
分类:
其他好文 时间:
2019-12-29 11:27:56
阅读次数:
68
题目如下: Given an integer array arr and a target value target, return the integer value such that when we change all the integers larger than value in th ...
分类:
其他好文 时间:
2019-12-29 11:23:30
阅读次数:
81
Problem Statement Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 ...
分类:
其他好文 时间:
2019-12-29 11:21:04
阅读次数:
66
题目如下: You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You nee ...
分类:
其他好文 时间:
2019-12-29 10:57:18
阅读次数:
68
题目如下: Given an array arr, replace every element in that array with the greatest element among the elements to its right, and replace the last element ...
分类:
其他好文 时间:
2019-12-29 10:52:14
阅读次数:
76
原题链接在这里:https://leetcode.com/problems/minimum-area-rectangle/ 题目: Given a set of points in the xy-plane, determine the minimum area of a rectangle for ...
分类:
其他好文 时间:
2019-12-29 10:41:19
阅读次数:
70
题目如下: Given a binary tree, return the sum of values of its deepest leaves. Example 1: Constraints: The number of nodes in the tree is between 1 and 10 ...
分类:
其他好文 时间:
2019-12-29 10:38:07
阅读次数:
72