码迷,mamicode.com
首页 >  
搜索关键字:contains duplicate    ( 5846个结果
HashMap实现原理
HashMap是数组+链表实现的,既然用到hash散列,那么肯定不可避免的会出现冲突问题,HashMap解决冲突的方法是拉链法,因为这里有用到数组,那么当容量不足的时候就需要进行扩容操作了,在HashMap中有个术语叫冲突,当冲突几率越来越高的时候就需要进行扩容操作了,那什么情况就叫冲突几率高呢?就 ...
分类:其他好文   时间:2020-06-24 11:59:48    阅读次数:62
使用freemarker模板时用到的一些语法
字符串: ${value?if_exists} 判断: <#if "${value}"=="是/否"> <w:t>是</w:t><#else> <w:t>否</w:t></#if>或者: <#if "${value}"?contains("是/否")> <w:t>是</w:t><#else> <w: ...
分类:其他好文   时间:2020-06-23 15:43:28    阅读次数:63
【Django学习】ORM
比较操作符 __gt 大于__gte 大于等于__lt 小于__lte 小于等于__in__exact 精确等于 like 'aaa'__iexact 精确等于 忽略大小写 ilike 'aaa'__contains 包含 like '%aaa%'__icontains 包含 忽略大小写 ilike ...
分类:其他好文   时间:2020-06-21 19:30:52    阅读次数:52
slenium 定位text contain
starts-with 顾名思义,匹配一个属性开始位置的关键字 contains 匹配一个属性值中包含的字符串 text() 匹配的是显示文本信息,此处也可以用来做定位用 eg //input[starts-with(@name,'name1')] 查找name属性中开始位置包含'name1'关键字 ...
分类:其他好文   时间:2020-06-21 13:32:00    阅读次数:45
mysql常见错误
Error Code: 1366. Incorrect string value: '\xE5\xAD\xA6\xE5\xB7\xA5...' 将该表中的每一列的字符集都改为utf-8 SQL语句:alter table dept change loc loc varchar(50) charact ...
分类:数据库   时间:2020-06-21 11:24:12    阅读次数:71
[LeetCode] 60. Permutation Sequence
The set [1,2,3,...,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, we get the following seque ...
分类:其他好文   时间:2020-06-21 10:13:55    阅读次数:48
JS中的JSON过滤方法filter
// 打印所有 function onAllButtonClick() { $("#print div div:contains('项目号:')").html('项目号:' + F.ui.lbItem_no.getText()); $("#print div div:contains('内部合同号: ...
分类:Web程序   时间:2020-06-20 18:52:53    阅读次数:386
MySQL中建表时可空(NULL)和非空(NOT NULL)的一些思考
对于MySQL的一些个规范,某些公司建表规范中有一项要求是所有字段非空,意味着没有值的时候存储一个默认值。其实所有字段非空这么说应该是绝对了,应该说是尽可能非空,某些情况下不可能给出一个默认值。那么这条要求,是基于哪些考虑因素,存储空间?相关增删查改操作的性能?亦或是其他考虑?该理论到底有没有道理或 ...
分类:数据库   时间:2020-06-20 16:27:28    阅读次数:236
[LeetCode] 1044. Longest Duplicate Substring
Given a string S, consider all duplicated substrings: (contiguous) substrings of S that occur 2 or more times. (The occurrences may overlap.) Return a ...
分类:其他好文   时间:2020-06-20 13:20:54    阅读次数:43
LC 1044. Longest Duplicate Substring
link class Solution { public: const int mod=1E9+7; vector<long long> powerof26; string longestDupSubstring(string S) { int n=S.size(); powerof26.resiz ...
分类:其他好文   时间:2020-06-20 10:58:13    阅读次数:40
5846条   上一页 1 ... 18 19 20 21 22 ... 585 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!