SOJ 3329: Maximum Submatrix II http://acm.scu.edu.cn/soj/problem.action?id=3329 Problem: Given a $0-1$ matrix, find the maximum submatrix which contai ...
分类:
其他好文 时间:
2019-03-16 09:53:58
阅读次数:
206
https://unix.stackexchange.com/questions/476351/difference-between-ulimit-lsof-cat-proc-sys-fs-file-max https://www.cyberciti.biz/faq/linux-increase-t ...
分类:
其他好文 时间:
2019-03-15 14:24:32
阅读次数:
191
[toc] 题目链接 "Maximum Depth of Binary Tree LeetCode" 注意点 不要访问空结点 解法 解法一:递归,当前深度与最大深度相比,是否大于,大于就更新。 小结 在写 这种语句的时候一定要清楚的认识到root是NULL才会为真。 ...
分类:
其他好文 时间:
2019-03-15 01:16:40
阅读次数:
188
首页 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scal ...
分类:
Web程序 时间:
2019-03-14 00:23:46
阅读次数:
216
Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, N?i+1??, ..., N?j?? } where 1. The Max ...
分类:
其他好文 时间:
2019-03-13 18:21:07
阅读次数:
138
移动端web缩放有两种: 1.双击缩放; 2.双指手势缩放。 在iOS 10以前,iOS和Android都可以通过一行meta标签来禁止页面缩放 但iOS 10开始,meta设置在Safari内无效了。 后来在网上看到一个解决方案: 经过测试,这种方法只能禁止双击缩放。只好继续找解决方案了。 原来在 ...
分类:
移动开发 时间:
2019-03-12 21:05:25
阅读次数:
462
题目内容如下: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 虽然是暴 ...
分类:
其他好文 时间:
2019-03-11 23:47:07
阅读次数:
166
You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. Now, we define a pair (c, d) can follow an ...
分类:
其他好文 时间:
2019-03-11 16:25:49
阅读次数:
200
题目:最长的回文串 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: 解答 ...
分类:
其他好文 时间:
2019-03-10 11:14:21
阅读次数:
126
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:
其他好文 时间:
2019-03-10 09:19:40
阅读次数:
146