码迷,mamicode.com
首页 >  
搜索关键字:median of two sor    ( 12209个结果
UNIT TWO
声明 基于8086的寄存器共14个16位的,分别是 ax bx cx dx (通用寄存器) si di bp sp (基址与变址寄存器) cs ss ds es (段寄存器) ip flags (指令指针和标志寄存器) 常用的是第一排、第三排 附: AX Accumulator RegisterBX ...
分类:其他好文   时间:2018-12-23 11:18:49    阅读次数:122
692. Top K Frequent Words - Medium
Given a non-empty list of words, return the k most frequent elements. Your answer should be sorted by frequency from highest to lowest. If two words h ...
分类:其他好文   时间:2018-12-22 11:39:02    阅读次数:173
[Daily Coding Problem] 1 (LeetCode 1). Find if two numbers in an array add up to k
This problem was recently asked by Google. Given a list of numbers and a number k, return whether any two numbers from the list add up to k. For examp ...
分类:其他好文   时间:2018-12-22 11:36:58    阅读次数:175
双索引技术
双索引技术(Two Pointer) 滑动窗口:这两个索引表示的是一个窗口,让这个窗口不停的在数组中滑动,来找到问题的解。 -什么叫子数组:可以不连续。但是本题强调了是要连续的。、 解法一:滑动窗口 时间复杂度:O(n),空间复杂度O(1) 因为没有另外开辟空间。 思路:和209类似采用滑动窗口的思 ...
分类:其他好文   时间:2018-12-22 01:28:21    阅读次数:379
Javascript 小练习
<script type="text/javascript"> function fibonacci(n) { var one = 1; var two = 1; for(var i = 3; i <= n; i++) { //此处代码重点部分,用three累加前两个数的和,也是斐波那契数列的精髓所 ...
分类:编程语言   时间:2018-12-21 22:41:15    阅读次数:433
To the Max POJ - 1050
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the ...
分类:其他好文   时间:2018-12-21 21:23:48    阅读次数:292
prettier 与 eslint 对比
Linters have two categories of rules: 代码修正一般有两种规则: Formatting rules: eg: max-len, no-mixed-spaces-and-tabs, keyword-spacing, comma-style... 格式化规则,例如:最 ...
分类:其他好文   时间:2018-12-21 21:10:51    阅读次数:514
692. Top K Frequent Words
Given a non-empty list of words, return the k most frequent elements. Your answer should be sorted by frequency from highest to lowest. If two words h ...
分类:其他好文   时间:2018-12-21 19:35:35    阅读次数:174
LeetCode算法题-Intersection of Two Arrays II(Java实现)
这是悦乐书的第 208 次更新,第 220 篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第76题(顺位题号是350)。给定两个数组,编写一个函数来计算它们的交集。例如: 输入:nums1 = [1,2,2,1],nums2 = [2,2] 输出:[2,2] 输入:nu ...
分类:编程语言   时间:2018-12-21 13:21:56    阅读次数:214
[论文理解]Selective Search for Object Recognition
Selective Search for Object Recognition 简介 Selective Search是现在目标检测里面非常常用的方法,rcnn、frcnn等就是通过selective search方法得到候选框,然后进行分类,也就是传统的two stage方法。本篇也是我看到frc ...
分类:其他好文   时间:2018-12-21 13:14:44    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!