码迷,mamicode.com
首页 >  
搜索关键字:two pointer    ( 13796个结果
【每天一道PAT】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-04-01 13:05:16    阅读次数:62
400gbase-sr8 400g osfp to osfp twinax copper dac c
OSFP 400G SR8 DAC Direct AttachCable is a twinax cable solution with two copper-based conductors fortransmitting electrical signals at short distances. The OSFP DAC Direct AttachCable transmit the signals faster (i.e. with a lesser latency) and require considerablyless current, compared to electrical signals sent via a twisted pair cable.
分类:Windows程序   时间:2020-04-01 13:04:41    阅读次数:89
[LeetCode] 1111. Maximum Nesting Depth of Two Valid Parentheses Strings
有效括号的嵌套深度。题意是给一个用字符串表示的嵌套括号,请按规则返回这个字符串的嵌套深度depth。嵌套深度的定义如下, depth("") = 0 depth(A + B) = max(depth(A), depth(B)), where A and B are VPS's depth("(" + ...
分类:其他好文   时间:2020-04-01 09:18:51    阅读次数:87
6516. 【GDOI2020模拟03.28】数二数(two)
"题目" 有一个$[1,n]$的整数,可以询问$[L,R]$,表示整个整数是否在这个区间里。 计算有多少个询问集合,使得这些询问过后,无论整数是$[1,n]$中哪一个都能被唯一确定。 $n\leq 300$ 思考历程 简化一下题目大意:可以通过询问,将数字分成若干组。 一开始$[1,n]$为一组。 ...
分类:其他好文   时间:2020-03-31 20:38:21    阅读次数:54
最短编辑距离 72.EditDistance.md
题目描述 Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations pe ...
分类:其他好文   时间:2020-03-31 18:48:00    阅读次数:81
Runtime相关
对象的isa 指针指向哪里?isa 指针有哪两种类型? isa 等价于 is kind of 实例对象 isa 指向类对象 类对象 isa 指向元类对象 元类对象的 isa 指向元类的基类 isa 有两种类型 纯指针,指向内存地址 NON_POINTER_ISA,除了内存地址,还存有一些其他信息 1 ...
分类:其他好文   时间:2020-03-31 17:25:33    阅读次数:67
我的博客配置
1.我的博客皮肤:SimpleMemory 2.申请js代码,为了更好的使用qwq 3.页面定制 CSS 代码(我的前面一部分是来自 "这里" 的,后面是更改鼠标指针): 4.博客侧边栏公告,把部分改成自己的即可,但要选择“禁用模板默认CSS”,(主要来自 "这里" ): 5.页首 HTML 代码, ...
分类:其他好文   时间:2020-03-31 14:53:50    阅读次数:73
E - Power Strings
E - Power Strings Given two strings a and b we define ab to be their concatenation. For example, if a = "abc" and b = "def" then ab = "abcdef". If we ...
分类:其他好文   时间:2020-03-31 14:21:25    阅读次数:63
原生JS offsetX和offsetY引起抖动
在模仿淘宝放大镜效果时, 发现mask层一直抖动, 红色方框添加了onmousemove事件, 内部用到了offsetX 最后解决方案是给mask添加css属性: pointer-event: none; <div class="outer"> <div.mask></div> </div> 原本我 ...
分类:Web程序   时间:2020-03-31 09:14:48    阅读次数:239
Leetcode 220. 存在重复元素 III (Contains Duplicate III)
题目 Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between and is a ...
分类:其他好文   时间:2020-03-31 01:13:11    阅读次数:88
13796条   上一页 1 ... 45 46 47 48 49 ... 1380 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!