Description Description Given a string, find length of the longest repeating subsequence such that the two subsequence don’t have same string characte ...
分类:
其他好文 时间:
2019-12-21 22:26:52
阅读次数:
71
Description Description Given an array of integers, find a contiguous subarray which has the largest sum. The subarray should contain at least one num ...
分类:
其他好文 时间:
2019-12-21 22:17:06
阅读次数:
99
onresize的定义方式 一、直接在html中定义 如<body onresize="doResize()"/> 二、直接给onresize赋值 可以给window和body的onresize赋值 如window.onresize=function(){},document.body.onresi ...
Problem Statement Given a m x n matrix mat and an integer threshold. Return the maximum side-length of a square with a sum less than or equal to thres ...
分类:
其他好文 时间:
2019-12-19 13:08:00
阅读次数:
81
Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product. Example 1: I ...
分类:
其他好文 时间:
2019-12-17 13:19:28
阅读次数:
82
内存分配相关 Xms 英文释义:Initial heap size(in bytes) 中文释义:堆区初始值 使用方法: Xms2g 或 XX:InitialHeapSize=2048m Xmx 英文释义:Maximum heap size(in bytes) 中文释义:堆区最大值 使用方法: Xm ...
分类:
其他好文 时间:
2019-12-16 22:21:54
阅读次数:
109
题目链接 Given a m x n matrix mat and an integer threshold. Return the maximum side-length of a square with a sum less than or equal to threshold or retur ...
分类:
其他好文 时间:
2019-12-15 23:57:05
阅读次数:
154
这道题暴力法会TLE,先给出这种TLE方案: 使用前序和方式,Java的可以AC,但是python仍然会TLE,给出这种TLE方案: 参考:https://leetcode.com/problems/maximum-side-length-of-a-square-with-sum-less-than ...
分类:
其他好文 时间:
2019-12-15 14:26:59
阅读次数:
104
Given an unsorted array of integers, find the length of longest continuous increasing subsequence (subarray). Example 1: Input: [1,3,5,4,7] Output: 3 ...
分类:
其他好文 时间:
2019-12-15 10:28:00
阅读次数:
70
485. Max Consecutive Ones Easy Easy Easy Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1 ...
分类:
其他好文 时间:
2019-12-14 09:25:04
阅读次数:
75