题目描述 There are NN light bulbs indexed from 00 to N-1N?1. Initially, all of them are off. A FLIP operation switches the state of a contiguous subset of ...
分类:
其他好文 时间:
2019-09-26 23:24:55
阅读次数:
116
复习 联合分组 子查询 all与any:区间修饰条件 视图:view 视图的增删改 事务 pymysql:python操作mysql 安装 增删改查 创建表 增 删 改 查 游标操作 pymysql事务 sql注入 索引 ...
分类:
数据库 时间:
2019-09-26 23:12:20
阅读次数:
85
获取两个list 的交集 获取两个list 的并集 获取两个 list 的差集 ...
分类:
其他好文 时间:
2019-09-26 16:09:18
阅读次数:
84
JavaScript data types and data structures Programming languages all have built-in data structures, but these often differ from one language to another ...
分类:
编程语言 时间:
2019-09-26 16:08:51
阅读次数:
130
问题描述: Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums ex ...
分类:
其他好文 时间:
2019-09-26 11:46:40
阅读次数:
70
Sliding Window (fixed length) 比较straightforward的方法,用长度为p的window去扫描,判断两个hashtable统计结果是否相同。在不清楚C++里unordered_map有没有重载==的情况写,可以用两个vector来做counter。 Slidin ...
分类:
其他好文 时间:
2019-09-26 10:04:37
阅读次数:
113
nmcli n 查看nmcli状态 nmcli n on 启动nmcli nmcli c up eth0 启动网卡eth0 nmcli c down eth0 关闭网卡eth0 nmcli d c eth0 激活网卡 nmcli d show eth0 查看网卡eth0信息 nmcli r all ...
分类:
其他好文 时间:
2019-09-26 00:50:18
阅读次数:
236
Mike and Ann are sitting in the classroom. The lesson is boring, so they decided to play an interesting game. Fortunately, all they need to play this ...
分类:
其他好文 时间:
2019-09-25 22:49:18
阅读次数:
163
宝塔 + 阿里云ECS + MySql + Navicat 远程连接 1. root登录; 2. grant all privileges on *.* to root@'%' identified by 'password'; -- password自行设置 3. flush privileges ...
分类:
数据库 时间:
2019-09-25 22:21:32
阅读次数:
117
There are NN light bulbs indexed from 00 to N-1N?1. Initially, all of them are off. A FLIP operation switches the state of a contiguous subset of bulb ...
分类:
其他好文 时间:
2019-09-25 17:32:49
阅读次数:
135