题目描述 Design a data structure that supports the following two operations: search(word) can search a literal word or a regular expression string contain ...
分类:
其他好文 时间:
2019-06-19 12:10:44
阅读次数:
111
最近看的一个问题,消息队列可以创建,但是不能获取属性,也不能发消息,返回错误为:EBADF Bad file descriptor 经过打点,确认走入了这个流程: 这个分支判断按道理也没什么问题,因为既然是消息队列,那么file->f_op就应该是 mqueue_file_operations 。 ...
分类:
其他好文 时间:
2019-06-11 17:43:04
阅读次数:
156
DevOps 是一个完整的面向IT运维的工作流,以 IT 自动化以及持续集成(CI)、持续部署(CD)为基础,来优化程式开发、测试、系统运维等所有环节。 DevOps的概念 DevOps一词的来自于Development和Operations的组合,突出重视软件开发人员和运维人员的沟通合作,通过自动 ...
分类:
其他好文 时间:
2019-06-01 21:40:29
阅读次数:
127
Kobjects Sysfs Operations Buses, Devices, and Drivers Classes Firmware ...
分类:
系统相关 时间:
2019-05-27 11:48:01
阅读次数:
167
django文档(包括Django book)最完善、市场占有率最高强大的URL路由配置自助管理后台 python3.7 + django2.2 两处mysql配置需要修改的源码operations.pyquery.decode改为query.encodebase.py注释if。。。。。两行 字符串 ...
分类:
其他好文 时间:
2019-05-25 09:51:25
阅读次数:
92
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the ...
分类:
系统相关 时间:
2019-05-24 17:00:50
阅读次数:
126
题目链接:http://poj.org/problem?id=3468 You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to ...
分类:
其他好文 时间:
2019-05-23 20:52:51
阅读次数:
130
Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations permitt ...
分类:
编程语言 时间:
2019-05-23 18:21:34
阅读次数:
95
线段树 a数组一开始全是0,每次增加1,我们可以发现不一定每一个a\[i]/b\[i]都是会影响答案的。 也就是说,只有a\[i] b\[i]才会影响答案,为了方便比较,我们可以把a的初始值变成b,然后每次区间加1相当于区间减1,当有某个数减为0,就代表影响了一次答案,我们可以暴力找到这个数,将他重 ...
分类:
其他好文 时间:
2019-05-21 19:11:35
阅读次数:
85
Switch Game HDU - 2053 Time limit1000 msMemory limit32768 kB There are many lamps in a line. All of them are off at first. A series of operations are ...
分类:
其他好文 时间:
2019-05-20 21:17:50
阅读次数:
109