移除无效的括号。题意是给一个带有左括号和右括号的字符串,请你移除一些括号,使得剩下的部分成为一个有效的字符串。例子, Example 1: Input: s = "lee(t(c)o)de)" Output: "lee(t(c)o)de" Explanation: "lee(t(co)de)" , ...
分类:
其他好文 时间:
2020-05-08 13:23:52
阅读次数:
65
今天有抽空看了看散度型抛物方程的De Giorgi方法,Lieberman的书写的也不错,但是如同16年看到De Giorgi Class的证明,他的typos太多了,有时候多的让人费解,这样就歪曲了王光烈教授的原意。两个特别重要的定理的(De Giorgi-Nash-Moser, Krylov-S ...
分类:
其他好文 时间:
2020-05-08 00:27:32
阅读次数:
122
题目地址:https://leetcode-cn.com/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/ 题目描述 给定一个数组 nums 和滑动窗口的大小 k,请找出所有滑动窗口里的最大值。 题目示例 示例: 输入: nums = [1,3,-1, ...
分类:
编程语言 时间:
2020-05-07 23:19:05
阅读次数:
130
https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/solution/li-jie-zhe-dao-ti-de-jie-shu-tiao-jian-by-user7208/ 思路:有个特殊情况,比如树是1,2.这样的话,根节点为 ...
分类:
其他好文 时间:
2020-05-07 10:48:03
阅读次数:
60
题目链接:https://leetcode cn.com/problems/shu zu zhong shu zi chu xian de ci shu lcof/ 位运算 ...
分类:
编程语言 时间:
2020-05-06 22:09:28
阅读次数:
109
题目链接:https://leetcode cn.com/problems/er cha shu zhong he wei mou yi zhi de lu jing lcof/ 递归 ...
分类:
其他好文 时间:
2020-05-06 21:42:57
阅读次数:
59
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12837866.html 滑动窗口的最大值(49min) 题目链接:https://leetcode-cn.com/problems/hua-dong-chuang-kou-de-zui-da-zhi-lco ...
分类:
其他好文 时间:
2020-05-06 18:01:34
阅读次数:
53
import matplotlib.pyplot as pltimport numpy as npx= np.linspace(0,10,1000)y= np.cos(3*np.pi*x)*np.exp(-x)+0.8plt.plot(x,y,'k',color='r',label="$exp-de ...
分类:
其他好文 时间:
2020-05-05 23:37:31
阅读次数:
61
LT8619C HDMI 转LVDS-HDMI支持高达4Kx2K @ 30Hz的分辨率
分类:
其他好文 时间:
2020-05-05 21:39:48
阅读次数:
170
https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof/ 这个题如果借栈来做的话,简直就是秒杀,但是我这里用了一个不借助栈的方法来实现。 class Solution { public boolean validateSt ...
分类:
其他好文 时间:
2020-05-05 19:44:37
阅读次数:
56