题目描述: Finding all occurrences of a pattern in a text is a problem that arises frequently in text-editing programs. Typically,the text is a document be ...
分类:
其他好文 时间:
2018-10-02 17:14:01
阅读次数:
154
Hector slam: Hector slam利用高斯牛顿方法解决scan-matching问题,对传感器要求较高。 缺点:需要雷达(LRS)的更新频率较高,测量噪声小。所以在制图过程中,需要robot速度控制在比较低的情况下,建图效果才会比较理想,这也是它没有回环(loop close)的一个后 ...
分类:
编程语言 时间:
2018-09-30 12:43:14
阅读次数:
185
原因: 根本原因之所以报错是因为OpenSSH7.0以后的版本不再支持ssh-dss(DSA)算法,官方的说法是这个算法太弱了。MACOS升到10.12附带的openssh版本是7.4,如下:?~sshd-Vsshd:illegaloption--VOpenSSH_7 解决方案: 命令行里添加选项 ...
分类:
系统相关 时间:
2018-09-29 23:50:33
阅读次数:
559
给定一个字符串 (s) 和一个字符模式 (p)。实现支持 ‘.’ 和 ‘*’ 的正则表达式匹配。 说明: s 可能为空,且只包含从 a-z 的小写字母。p 可能为空,且只包含从 a-z 的小写字母,以及字符 . 和 *。示例 1: 示例 2: 示例 3: 示例 4: 示例 5: ...
分类:
其他好文 时间:
2018-09-28 14:38:16
阅读次数:
103
经典DP题目,比较复杂,需要多复习。 dp[i][j] 表示 s 下标0~i,p 下标0~j 是否能够匹配 dp[i-1][j-1] s[i]==p[j] || p[j]=='.' dp[i][j] = dp[i][j-2] p[j]=='*', 0 occurence dp[i-1][j] p[j ...
分类:
其他好文 时间:
2018-09-27 10:36:11
阅读次数:
131
Could not fetch URL https://pypi.python.org/simple/xlrd/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv ...
分类:
其他好文 时间:
2018-09-26 17:12:23
阅读次数:
278
params和headers支持简单的表达式: --param1:表示请求必须包含名为param1的请求参数。 --!param1:表示请求不能包含名为param1的请求参数。 --param1 != value1:表示请求包含名为param1的参数,但其值不能为value1. --{“param1 ...
分类:
移动开发 时间:
2018-09-24 14:50:15
阅读次数:
978
Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'. The matching should cover the entire ...
分类:
其他好文 时间:
2018-09-24 13:50:19
阅读次数:
156
Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'. The matching should cover the entire ...
分类:
其他好文 时间:
2018-09-23 11:56:13
阅读次数:
177
An important task when processing arithmetic expressions is to mach delimiters. We can use Stack to solve this problem. ...
分类:
其他好文 时间:
2018-09-17 13:27:19
阅读次数:
142