You are given an array aa consisting of nn integers. Your task is to determine if aa has some subsequence of length at least 33 that is a palindrome. ...
分类:
其他好文 时间:
2020-03-14 23:35:49
阅读次数:
96
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s ...
分类:
其他好文 时间:
2020-03-14 21:56:52
阅读次数:
69
索引优化案例分析 首先看这篇博文你对执行计划各个字段有所了解,如果没有请先点击 "explain执行计划" . 单表分析 首先创建一个表并添加一些数据: mysql 创建表和一些假数据: create table if not exists ( int(10) unsigned not null p ...
分类:
数据库 时间:
2020-03-14 17:02:15
阅读次数:
127
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <style type="text/css"> 7 .box{ 8 width: 300px; 9 h ...
分类:
Web程序 时间:
2020-03-14 17:01:58
阅读次数:
77
1.看一下php (1)用order by 注入来看看 (2)通过asc 和desc查看返回数据是否相同来简单判断是否存在order by注入 ?sort=1+asc ?sort=1+desc 2.报错注入 (1)爆库:?sort=1 and(updatexml(1,concat(0x7e,(sel ...
分类:
其他好文 时间:
2020-03-14 13:09:13
阅读次数:
59
MySQL中的group_concat函数的使用方法,比如select group_concat(name) 。 完整的语法如下: group_concat([DISTINCT] 要连接的字段 [Order BY ASC/DESC 排序字段] [Separator '分隔符']) 举个例子 我们想查 ...
分类:
数据库 时间:
2020-03-14 12:45:12
阅读次数:
74
mysql索引简单了解 它能帮助MySQL高效获取数据的数据结构,可以得到索引的本质,索引是数据结构。索引可以提高查询效率,可以类比字典。就是排好序的快速查找数据结构。 索引会影响order by 的排序和where后面条件查 B树索引 在数据之外,数据库系统还维护着满足特定查找算法的数据结构,这些 ...
分类:
数据库 时间:
2020-03-14 12:35:44
阅读次数:
79
1 .table{ 2 font-size: 12px; 3 border-collapse: collapse; 4 border-top: 1px solid #7f9db9; 5 border-left: 1px solid #7f9db9; 6 } 7 .table td, .table t ...
分类:
其他好文 时间:
2020-03-14 11:19:28
阅读次数:
83
题目描述: https://leetcode-cn.com/problems/binary-tree-level-order-traversal/ 给定一个二叉树,返回其按层次遍历的节点值。 (即逐层地,从左到右访问所有节点)。 例如:给定二叉树: [3,9,20,null,null,15,7], ...
分类:
其他好文 时间:
2020-03-14 11:03:16
阅读次数:
49
量化学习 | Tushare和Backtrader初探(一) ...
分类:
其他好文 时间:
2020-03-13 18:48:14
阅读次数:
147