PUT /cheng { "mappings": { "properties": { "name": { "type": "text", "analyzer": "ik_max_word", "search_analyzer": "ik_smart" } } } } ...
分类:
其他好文 时间:
2020-05-07 18:13:59
阅读次数:
498
Before we start to research tail recursion, let’s first have a look at the normal recursion. A simple factorial implementation by recursion: Let N = 5 ...
分类:
编程语言 时间:
2020-05-07 18:12:04
阅读次数:
95
1 indexOf()返回字符串中首次出现指定文本的索引值,lastIndexOf()返回字符串中最后一次出现指定文本的索引值。若没找到,返回值均为-1。 2 indexOf()与search()都可以实现检索字符串兵返回索引值的操作,但二者的区别在于: search()中不能定义第二个参数来规定初 ...
分类:
编程语言 时间:
2020-05-07 00:38:42
阅读次数:
67
本地搬运~ 关于树状数组的学习,强烈推荐这个视频:https://www.bilibili.com/video/av26371798?from=search&seid=2141442207537065040 1:树状数组:查询和修改复杂度都为log(n)的数据结构,本身可用于单点修改区间查询,加入辅 ...
分类:
编程语言 时间:
2020-05-06 22:06:50
阅读次数:
95
文献名:Large-scale Identification of N-linked Intact Glycopeptides in Human Serum using HILIC Enrichment and Spectral Library Search (利用HILIC富集和谱图库搜索对人血清 ...
分类:
其他好文 时间:
2020-05-06 18:18:24
阅读次数:
79
ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); ManagementObjectCollection moc = mc.GetInstances(); foreach (Management ...
分类:
其他好文 时间:
2020-05-06 18:11:13
阅读次数:
85
如果程序中有一个变量被用得比较多,但名字起得不是很好,导致其他阅读程序的人搞不清它到底表示的是什么,这时可以考虑起一个有意义的名字。但是,要一个一个改吗?显然不合适。举个栗子,下面这段小程序:其中的i,表示的是要输入的年龄,但就意义来说,就不如用age来得好懂。如何将i都改成age呢?很简单,在Pycharm中右键单击i,然后选择refactor-rename就可以了。这里的refactor意思是
分类:
编程语言 时间:
2020-05-05 21:50:02
阅读次数:
641
https://www.bilibili.com/video/BV1Qs41167VS?from=search&seid=5014083521436765376 ...
分类:
其他好文 时间:
2020-05-05 19:56:32
阅读次数:
50
[TOC] 0.PTA得分截图 1.本周学习总结 1.1 总结图内容 1.图存储结构 1.2 谈谈你对图的认识及学习体会 2.阅读代码 2.1 题目及解题代码 题目 代码 2.1.1 该题的设计思路 2.1.2 该题的伪代码 2.1.3 运行结果 2.1.4 分析该题目解题优势及难点 2.2 题目及 ...
分类:
其他好文 时间:
2020-05-05 19:43:11
阅读次数:
64
题目: 解答: 1 class Solution { 2 public: 3 int search(vector<int>& nums, int target) 4 { 5 int l = 0; 6 int r = nums.size() -1; 7 8 while (l <= r) 9 { 10 ...
分类:
编程语言 时间:
2020-05-05 12:36:15
阅读次数:
57