一.准备工作 下载Seata服务端包:https://github.com/seata/seata/releases;本例使用seata-1.4.0。 下载nacos服务端包:https://github.com/alibaba/nacos/releases;本例使用nacos-1.4.0。 (Wi ...
分类:
其他好文 时间:
2020-12-30 11:27:40
阅读次数:
0
ESP8266WiFiSTA库:http://www.taichi-maker.com/homepage/iot-development/iot-dev-reference/esp8266-c-plus-plus-reference/esp8266wifista/ ESP8266WiFiAP库:ht ...
分类:
其他好文 时间:
2020-12-29 12:04:27
阅读次数:
0
scnzzh@zubt1:~/zzh$ str='I love python.' scnzzh@zubt1:~/zzh$ echo ${str/'python'/'shell'} I love shell. ...
分类:
系统相关 时间:
2020-12-29 11:16:57
阅读次数:
0
package LeetCode_562 /** * 562. Longest Line of Consecutive One in Matrix * (Prime) *Given a 01 matrix M, find the longest line of consecutive one in ...
分类:
其他好文 时间:
2020-12-28 11:58:19
阅读次数:
0
原题链接:https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ class Solution { public int lengthOfLongestSubstring(String s) { ...
分类:
其他好文 时间:
2020-12-25 11:54:02
阅读次数:
0
题目来源:https://leetcode-cn.com/problems/longest-palindromic-substring/submissions 思路:动态规划(参看官方解析) 关键点: 1:对于字符串长度大于2,状态转移方程:P(i,j)=P(i+1,j?1) && (Si?==Sj ...
分类:
其他好文 时间:
2020-12-18 12:45:33
阅读次数:
3
题目 方法一:动态规划 我们可以维护一个数组$dp[]$,$dp[i]$表示以$nums[i]$为结尾元素的最长上升子序列的长度。在计算$dp[i]$之前,我们已经计算出了$dp[0....i-1]$的值,考虑在$num[i]$之前的最长子序列的尾部加上$nums[i]$, $dp[j]$代表$nu ...
分类:
其他好文 时间:
2020-12-16 11:50:45
阅读次数:
4
前言本文快速回顾了Java中容器的知识点,用作面试复习,事半功倍。上篇:容器概览,容器中用到的设计模式,List源码中篇:Map源码下篇:Set源码,容器总结其它知识点复习手册Java基础知识点面试手册(上)Java基础知识点面试手册(下)Java容器(List、Set、Map)知识点快速复习手册(上)Java容器(List、Set、Map)知识点快速复习手册(中)HashSethttp://wi
分类:
编程语言 时间:
2020-12-14 13:32:36
阅读次数:
5
非商业,LeetCode链接附上: https://leetcode-cn.com/problems/longest-increasing-subsequence/ 进入正题。 题目: 给定一个无序的整数数组,找到其中最长上升子序列的长度。 示例: 输入: [10,9,2,5,3,7,101,18] ...
分类:
其他好文 时间:
2020-12-10 10:49:44
阅读次数:
2
背景:需要更新一些不规范的时间格式,如将某个时间格式化为yy-MM-dd,实际上为yy-MM-ddhh:mm:ss,并且需要提供回滚脚本。例如:规范化时间的脚本如下:updatetestsettest_date=substring(account_date,1,10)WHEREtest_date>‘2017-06-0100:00:00‘ANDtest_date<‘2017-09-070
分类:
数据库 时间:
2020-12-04 10:59:43
阅读次数:
7