A string s is called an (k,l)-repeat if s is obtained by concatenating k>=1 times some seed string t with length l>=1. For example, the string s = aba ...
分类:
其他好文 时间:
2020-07-11 00:16:01
阅读次数:
65
环境:centos7、三个主节点的kubernetes 1、关闭selinux、firewalld、swap2、修改主机名称 hostnamectl set-hostname master13、更新系统时间 timedatectl set-timezone Asia/Shanghai 4、上传文件( ...
分类:
Web程序 时间:
2020-07-10 18:59:21
阅读次数:
167
var loggerConfiguration = new LoggerConfiguration(); loggerConfiguration = loggerConfiguration.ReadFrom.AppSettings(filePath: path); var logger = logg ...
分类:
移动开发 时间:
2020-07-10 15:37:18
阅读次数:
83
Given an n-ary tree, return the level order traversal of its nodes' values. Nary-Tree input serialization is represented in their level order traversa ...
分类:
其他好文 时间:
2020-07-10 11:20:42
阅读次数:
63
C++-Struct string初始化&&map初始化 July 10, 2020 2:16 AM swap:vector map stdvector().swap(m_vStruct); stdvector().swap(m_mStruct); struct memset 结构体成员有strin ...
分类:
编程语言 时间:
2020-07-10 09:48:16
阅读次数:
73
把数组中所有的奇数放到偶数的左边不在意顺序 #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10; int N; int a[maxn]; int main() { scanf("%d", &N); for(i ...
分类:
编程语言 时间:
2020-07-10 09:21:57
阅读次数:
79
problem 1010. Pairs of Songs With Total Durations Divisible by 60 参考 1. leetcode_1010. Pairs of Songs With Total Durations Divisible by 60; 完 ...
分类:
其他好文 时间:
2020-07-09 22:47:52
阅读次数:
73
第1章 Pandas基础 import pandas as pd import numpy as np 查看Pandas版本 pd.__version__ '1.0.3' 一、文件读取与写入 1. 读取 (a)csv格式 df = pd.read_csv('data/table.csv') df.h ...
分类:
其他好文 时间:
2020-07-08 15:07:37
阅读次数:
149
【题目描述】 给定一个单链表,把所有的奇数节点和偶数节点分别排在一起。请注意,这里的奇数节点和偶数节点指的是节点编号的奇偶性,而不是节点的值的奇偶性。 请尝试使用原地算法完成。你的算法的空间复杂度应为 O(1),时间复杂度应为 O(nodes),nodes 为节点总数。 示例 1: 输入: 1->2 ...
分类:
其他好文 时间:
2020-07-08 13:44:21
阅读次数:
63
#Windows: C:boot.ini //查看系统版本 C:WindowsSystem32inetsrvMetaBase.xml //IIS配置文件 C:Windowsrepairsam //存储系统初次安装的密码 C:Program Filesmysqlmy.ini //Mysql配置 C:P ...
分类:
其他好文 时间:
2020-07-07 09:49:57
阅读次数:
73