Implement a trie with insert, search, and startsWith methods. Example: Note: You may assume that all inputs are consist of lowercase letters a-z. All ...
分类:
其他好文 时间:
2019-08-10 09:32:47
阅读次数:
67
题目链接 题意:给定一个多项式(ax+by)^k,请求出多项式展开后x^n*y^m项的系数。 思路:系数是 C(n,k)*a^n*b^m a^n和b^m用快速幂求,然后求组合数有两种思路。 因为k只有1000,所以杨辉三角打表 然后如果k比较大,就可以用求n!逆元的方法 ...
分类:
其他好文 时间:
2019-08-09 19:49:23
阅读次数:
55
第一章 数据库的基本概念
第二章 MySQL的安装和使用
第三章 SQL的基本概念和通用语法 ...
分类:
数据库 时间:
2019-08-08 23:40:19
阅读次数:
133
前言 实习过程中,我参与了web版相册管家的开发,负责登陆页面的前后端逻辑。 需要在登陆页接入QQ互联和微信扫码登陆,而且是用页面内嵌方式。回头来看其实两者都有文档指导,步骤清楚,并不复杂。但是第一次接触难免踩坑,在此梳理如下,方便今后开发参考。 QQ互联 开发文档 https://wiki.con ...
分类:
微信 时间:
2019-08-07 20:58:31
阅读次数:
750
近期,有网络安全研究专家表示,发现网络上出现大量主要针对网银的恶意程序,是由***通过脸书和其它公共群组服务的CDN内容方式进行的。 安全研究人员还表示,***先是将恶意程序上传到脸书的公共服务,然后获得来自脸书分享的文件跳转地址。 ***通过此类方式注入恶意程序,可以很有效的通过各大公司的网址通常浏览器,还可以躲避安全软件的监测,与此同时获取用户的信任,更好的让用户下载恶意程序。 利用Pow
分类:
其他好文 时间:
2019-08-07 10:51:04
阅读次数:
117
信号的频谱、幅度谱、相位谱及能量谱密度、功率谱密度 ? 傅里叶变换一个令人震惊的事实是:Gaussian分布的密度函数 $e^{ x^2/2}$ 是唯一的一个傅里叶变换不变函数。 ? 泛函分析中,Gaussian密度函数的极限($\sigma\to\infty$)是delta dirac函数 $\d ...
分类:
其他好文 时间:
2019-08-07 10:42:36
阅读次数:
176
Description Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Example 2: Example ...
分类:
其他好文 时间:
2019-08-05 15:55:39
阅读次数:
82
java并发AtomicIntegerArray AtomicIntegerArray的原子性 AtomicIntegerArray的原子性是对数组的元素的,不是数组。 源码基于openjdk 1.8 AtomicIntegerArray方法测试 java package javalearn.jav ...
分类:
编程语言 时间:
2019-08-04 13:39:27
阅读次数:
92
abstract 1. install wsl 2. install fluent terminal 3. install zsh 4. install oh my zsh 5. config oh my zsh 6. sudo for windows install wsl install flu ...
1 //检验一个大数是否能3整除 2 //A number is divisible by 3 if sum of its digits is divisible by 3. 3 //we cannot use n % 3 to check if a number is divisible by 3... ...
分类:
其他好文 时间:
2019-08-03 21:58:36
阅读次数:
130