一.term与match 1.区别 2.查找多个精确值 二.修改器 1.词条建议器 两种顺序都可以得到结果 2.词组建议器 三.建议器(前缀提示) 1.基本使用 2.权重 3. size参数(返回数据量,默认是5) 4.skip_duplicates(过滤重复) 四.解决 size 最大10000的 ...
分类:
其他好文 时间:
2019-05-24 22:21:21
阅读次数:
134
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2019-05-13 20:18:35
阅读次数:
112
Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra spa ...
分类:
其他好文 时间:
2019-05-12 12:23:03
阅读次数:
139
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr ...
分类:
其他好文 时间:
2019-05-12 10:39:59
阅读次数:
120
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the ...
分类:
编程语言 时间:
2019-05-05 14:41:47
阅读次数:
164
80. Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate e ...
分类:
其他好文 时间:
2019-05-01 18:34:11
阅读次数:
149
Given a sorted linked list, delete all duplicates such that each element appear only once. Example 1: Example 2: ...
分类:
其他好文 时间:
2019-05-01 13:45:03
阅读次数:
153
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinctnumbers from the original list. Example 1: Example 2: ...
分类:
其他好文 时间:
2019-05-01 13:21:13
阅读次数:
123
Given a set of candidate numbers (`candidates`) (without duplicates) and a target number (`target`), find all unique combinations in `candidates` wh... ...
分类:
其他好文 时间:
2019-04-30 19:53:06
阅读次数:
151
Algorithm 本周的算法题是删除已排序数据中的重复数字(https://leetcode.com/problems/remove-duplicates-from-sorted-array/)。这道题比较简单,基本思路是从开头比较,遇到不同的数字,就进行替换 Reading 这周看的英文文章是《 ...
分类:
其他好文 时间:
2019-04-29 09:42:17
阅读次数:
117