We are given , a length string of characters from the set . (These letters stand for "decreasing" and "increasing".) A valid permutation is a permutat ...
分类:
其他好文 时间:
2019-06-27 00:36:19
阅读次数:
147
kubeadm 默认证书为一年,一年过期后,会导致api service不可用,使用过程中会出现:x509: certificate has expired or is not yet valid. 方案一 通过修改kubeadm 调整证书过期时间 修改代码,调整过期时间 克隆代码:git clon ...
分类:
其他好文 时间:
2019-06-26 20:47:40
阅读次数:
759
problem 680. Valid Palindrome II 参考 1. Leetcode_easy_680. Valid Palindrome II; 完 ...
分类:
其他好文 时间:
2019-06-26 17:54:47
阅读次数:
105
Given a binary tree, determine if it is a valid binary search tree (BST). ...
分类:
其他好文 时间:
2019-06-24 22:42:18
阅读次数:
188
找了半天错误最后发现{{count}}放到了div里面<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script></head><bod ...
分类:
其他好文 时间:
2019-06-24 16:34:17
阅读次数:
228
错误信息:UnicodeEncodeError: 'latin-1' codec can't encode character '\u5c0f' in position 31: Body ('小') is not valid Latin-1. Use body.encode('utf-8') if ...
分类:
Web程序 时间:
2019-06-23 12:48:59
阅读次数:
105
1 组织架构的修改 实现思路: 1、请求:前台通过修改按钮,请求修改页面,同时传递修改数据的id到后台,后台通过reques.GET方法获取id,返回数据,并将数据渲染到修改页面 2、执行:前台修改完数据后,提交保存,后台通过ID获取数据实例,通过form.is_valid()成功验证数据想信息后, ...
分类:
其他好文 时间:
2019-06-18 10:32:32
阅读次数:
101
lc125 Valid Palindrome 法一: 双指针 首尾指针向中间收缩,比较两者指向元素是否相同 不相同就返回false 若遇到非数字非字母的字符,跳过,这里可以手写if判断,也可以用Character内置函数Character.isLetterOrDigit() 还有一点需要注意,同一个 ...
分类:
其他好文 时间:
2019-06-14 14:31:14
阅读次数:
85
线上报警 5xx 错误,查看日志发现报这个错, TypeError: The view function did not return a valid response. The function either returned None or ended without a return stat ...
分类:
其他好文 时间:
2019-06-12 17:58:34
阅读次数:
689
报错如下: 300 [main] DEBUG org.apache.hadoop.util.Shell - Failed to detect a valid hadoop home directory java.io.IOException: HADOOP_HOME or hadoop.home.d ...
分类:
编程语言 时间:
2019-06-11 19:02:03
阅读次数:
234