Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Example 2: Note:You may assume the string contains only ...
分类:
其他好文 时间:
2019-03-21 21:41:27
阅读次数:
165
安装方法参考:https://www.cnblogs.com/ruigege/p/8064847.html 出现问题:[ERROR] COLLATION 'utf8_general_ci' is not valid for CHARACTER SET 'latin1' 之前忘记执行:/usr/loc ...
分类:
数据库 时间:
2019-03-19 15:12:37
阅读次数:
208
如果你执行spark的job时出现上面这个错误,同时满足以下条件 1、存在抽象父类 2、抽象父类中存在有参数的构造方法 3、子类实现了序列化接口,父类没有实现 那么恭喜你,来对地方了,解决方法非常简单,实现抽象父类的默认无参数构造方法就可以 下面代码的第9行 为什么会出现上面这个问题,我在这里强行解 ...
分类:
其他好文 时间:
2019-03-19 12:13:42
阅读次数:
156
Given a linked list, remove the n-th node from the end of list and return its head. Example: Note: Given n will always be valid. 方法一:双指针 删除倒数第n个点,我们首先 ...
分类:
其他好文 时间:
2019-03-18 23:41:20
阅读次数:
210
本地(windows)代码想推送到linux自己搭建的git服务端,第一步是建立本地与服务端的关联,第二步是本地推送到服务端。 第一步需要看你本地工程是否从git上clone来的,如果是clone来的那就不存在第一步了。但如果是本地已经有了工程之后才想同步到git上,需要先到linux的git上新增 ...
分类:
移动开发 时间:
2019-03-18 13:50:30
阅读次数:
861
参考:https://leetcode.com/problems/check-if-word-is-valid-after-substitutions/discuss/247626/JavaPythonC%2B%2B-Stack-Solution-O(N 方法1:使用c++自带的find函数和era ...
分类:
其他好文 时间:
2019-03-16 14:16:40
阅读次数:
198
操作Cookie // Go to the correct domain driver.get("http://www.example.com"); // Now set the cookie. This one's valid for the entire domain Cookie cookie... ...
分类:
其他好文 时间:
2019-03-15 01:13:38
阅读次数:
182
Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle 报错: [ERROR] No goals have been specified for this ...
分类:
其他好文 时间:
2019-03-13 21:29:20
阅读次数:
309
在网上download qt-opensource-windows-x86-winrt-msvc2013-5.8.0.exe 版本安装完成后,New “Qt Widgets application” project,提示“No valid kits found”。 解决方法:卸载,重新安装qt-op ...
通常用外部api进行卷积的时候,会面临mode选择。 本文清晰展示三种模式的不同之处,其实这三种不同模式是对卷积核移动范围的不同限制。 设 image的大小是7x7,filter的大小是3x3 1,full mode 橙色部分为image, 蓝色部分为filter。full模式的意思是,从filte ...
分类:
其他好文 时间:
2019-03-11 20:04:58
阅读次数:
693