码迷,mamicode.com
首页 >  
搜索关键字:fir    ( 3219个结果
centos7 firewall-cmd查看端口是否开放及开放端口
查询端口号80 是否开启:firewall cmd query port=80/tcp 永久开放80端口号:firewall cmd permanent zone=public add port=80/tcp 移除80端口号:firewall cmd permanent zone=public re ...
分类:其他好文   时间:2018-10-01 13:42:03    阅读次数:752
Splay 区间反转
同样的,我们以一道题来引入。 传送门 这次的任务比较少,只要求进行区间反转。区间反转? 这个好像用啥都是O(n)的吧……(这次vector,set也救不了你了) 我们来使用splay解决这个问题。我们既然要反转一段区间,那我们肯定要把这个区间弄到一个地方。我们想一下上次所讲的删除操作,我们把要删除的 ...
分类:其他好文   时间:2018-10-01 12:28:05    阅读次数:168
832. Flipping an Image
Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means t ...
分类:其他好文   时间:2018-10-01 11:52:01    阅读次数:141
centos7自动配置脚本
``` !/bin/bash currentTime=$(date +"%Y %m %d_%H:%M:%S") echo "blacklist i2c_piix4" /etc/modprobe.d/blacklist.conf echo "blacklist pcspkr" /etc/modprob ...
分类:其他好文   时间:2018-10-01 01:03:12    阅读次数:442
【LeetCode】【找元素】Find First and Last Position of Element in Sorted Array
描述: Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime ...
分类:其他好文   时间:2018-09-29 23:57:16    阅读次数:401
Pandas-多表操作
Pandas包对多个数据表(DataFrame)的常用整合功能。 目录 merge join concat append combin_first merge 合并 pandas.merge可根据一个或多个键将不同DataFrame中的行合并起来 # 在未指定连接键的情况下,merge会将重叠列的列 ...
分类:其他好文   时间:2018-09-29 17:43:01    阅读次数:282
ES6 Promise用法详解
What is Promise? Promise是一个构造函数,接受一个参数(Function),并且该参数接受两个参数resolve和reject(分别表示异步操作执行成功后的回调函数、执行失败后的回调函数) 运行代码,2秒后输出“执行完成”。注意,这里只是new了一个对象,并没有调用它,所以我们 ...
分类:其他好文   时间:2018-09-29 14:42:57    阅读次数:166
leetcode 279-Perfect Squares(medium)
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. 1. DP Set an array, first ...
分类:其他好文   时间:2018-09-29 01:19:26    阅读次数:223
c++ 将输入存储到数组,然后反转数组,最后输出
// 输入一个包含多个double元素的数组,先打印结果,然后反转出头和尾元素之外的所有元素,最后再打印结果 #include using namespace std; int fill_array(double arr[], int size); void show_array(double ar... ...
分类:编程语言   时间:2018-09-28 23:01:16    阅读次数:202
jQuery入门(四)-----jQuery中的静态方法
jQuery静态方法 什么是静态方法? 静态方法对应的是对象方法,对象方法用实例对象调用,而静态方法用类名调用. ready()事件的暂停和恢复 >>暂停或者恢复jQuery.ready()事件 >>传入true或false 数组和对象操作 each(object[,callback]) 遍历对象或 ...
分类:Web程序   时间:2018-09-28 22:05:47    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!