码迷,mamicode.com
首页 >  
搜索关键字:two points    ( 13225个结果
[LeetCode] 3. Longest Substring Without Repeating Characters
最长无重复字符的子串。 题意是给一个input字符串,请输出其最长的,没有重复字符的substring。这是two pointer/sliding window的基础题。例子 Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:其他好文   时间:2020-01-14 09:18:01    阅读次数:72
1317. Convert Integer to the Sum of Two No-Zero Integers
Given an integer n. No-Zero integer is a positive integer which doesn't contain any 0 in its decimal representation. Return a list of two integers [A, ...
分类:其他好文   时间:2020-01-14 09:17:43    阅读次数:100
Distinguishing between 32-bit and 64-bit A64 instructions
Distinguishing between 32-bit and 64-bit A64 instructionsMost integer instructions in the A64 instruction set have two forms, which operate on either ...
分类:其他好文   时间:2020-01-13 20:02:44    阅读次数:108
tcprewrite-man
官网手册:https://tcpreplay.appneta.com/wiki/tcprewrite man.html 恶意IP:http://www.jianshu.com/p/d3a2c4cda7a9 常用: 修改源IP 目的IP ...
分类:其他好文   时间:2020-01-13 18:13:25    阅读次数:78
PAT Advanced level 1002 A+B for Polynomials
This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu ...
分类:其他好文   时间:2020-01-13 18:10:41    阅读次数:67
回归问题浅析
由于tensorflow2.0版本的更新,很多以前版本上提到的图等概念都不再适用。为了跟上时代的步伐,顺便扎实一下深度学习的基础,从今天开始记录一下学习过程。 要想开始深度学习,首先必不可少的就是数学基础了,虽然tensorflow提供了一系列不需要太深的数学基础就可以使用的现成的函数,但是总吃表面 ...
分类:其他好文   时间:2020-01-13 12:36:41    阅读次数:98
1037. 有效的回旋镖
回旋镖定义为一组三个点,这些点各不相同且不在一条直线上。 给出平面上三个点组成的列表,判断这些点是否可以构成回旋镖。 示例 1: 输入:[[1,1],[2,3],[3,2]]输出:true示例 2: 输入:[[1,1],[2,2],[3,3]]输出:false 提示: points.length = ...
分类:其他好文   时间:2020-01-13 00:52:10    阅读次数:99
es lucene搜索及聚合流程源码分析
本文以TermQuery,GlobalOrdinalsStringTermsAggregator为例,通过代码,分析es,lucene搜索及聚合流程。1:协调节点收到请求后,将search任务发到相关的各个shard。 相关代码: TransportSearchAction.executeSearc ...
分类:Web程序   时间:2020-01-12 20:25:29    阅读次数:121
动态规划-Minimum Distance to Type a Word Using Two Fingers
2020-01-12 18:28:13 问题描述: 问题求解: 本题还是非常困难的,至少我在看到这个题目的时候是没有想到怎么解决的。我当时联想到的题目是那条grid走两遍的题目,那条题目也很麻烦,使用的是dp。 本题最终的解决方式其实是和那条题目是类似的,也是使用dp的方式去做。 最大的类似在于,这 ...
分类:其他好文   时间:2020-01-12 20:17:35    阅读次数:84
[LC] 1099. Two Sum Less Than K
Given an array A of integers and integer K, return the maximum S such that there exists i < j with A[i] + A[j] = S and S < K. If no i, j exist satisfy ...
分类:其他好文   时间:2020-01-12 11:53:41    阅读次数:79
13225条   上一页 1 ... 72 73 74 75 76 ... 1323 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!