码迷,mamicode.com
首页 >  
搜索关键字:given n integers    ( 24278个结果
leetcode 3. Longest Substring Without Repeating Characters
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
leetcode.104 计算二叉树的最大深度
题目描述:给一个二叉树,返回该二叉树的最大深度 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
leetcode.617 合并两个二叉树
题目描述:给予两个二叉树 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
LeetCode 963. Minimum Area Rectangle II
原题链接在这里: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
【leetcode】1300. Sum of Mutated Array Closest to Target
题目如下: 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
Baozi Leetcode solution 72. Edit Distance
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
【leetcode】1301. Number of Paths with Max Score
题目如下: 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
【leetcode】1299. Replace Elements with Greatest Element on Right Side
题目如下: 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
LeetCode 939. Minimum Area Rectangle
原题链接在这里: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
【leetcode】1302. Deepest Leaves Sum
题目如下: 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
24278条   上一页 1 ... 95 96 97 98 99 ... 2428 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!