码迷,mamicode.com
首页 >  
搜索关键字:median of two sorted    ( 17004个结果
redis常用命令大全
1.基于内存的key-value数据库2.基于c语言编写的,可以支持多种语言的api //set每秒11万次,取get 81000次3.支持数据持久化4.value可以是string,hash, list, set, sorted set 使用场景1. 去最新n个数据的操作2. 排行榜,取top n ...
分类:其他好文   时间:2020-03-03 14:46:18    阅读次数:71
SSD系列算法理解
SSD(Single Shot MultiBox Detector)系列算法属于one-stage算法; SSD算法采用直接回归计算出目标类别和位置。处理对象为原始图像经过卷积之后的feature map。 与two-stage算法的区别是,不需要proposal box候选框的提取,即不需要RPN ...
分类:编程语言   时间:2020-03-03 10:50:17    阅读次数:95
Educational Codeforces Round 77 (Rated for Div. 2) B. Obtain Two Zeroes
"Link" 题意: 已知 $a,b$,任取 $x$,每次进行两种操作的一种 操作一:$a x,b 2x$ 操作二:$a 2x,b x$ 问最终能否让 $a,b$ 都为 $0$ 思路: 易得成立的条件为:$(a+b)\mod3==0$ && $max(a,b)\le min(a,b) \times ...
分类:其他好文   时间:2020-03-02 22:53:24    阅读次数:74
160. 相交链表
160. 相交链表 [toc] 1、试题介绍 编写一个程序,找到两个单链表相交的起始节点。 试题链接:https://leetcode cn.com/problems/intersection of two linked lists/ 2、java做法 2.1、双重循环 测试结果: 2.2、双指针做 ...
分类:其他好文   时间:2020-03-02 20:41:45    阅读次数:64
python urllib.parse.urlencode()和字典自定义ascii排序
#标注 sorted()函数默认按ascii排序# coding=utf-8import urllibdict_param={"test":"FFFF","Aadmin":"33FFFHtest","key":"values"}target=sorted(dict_param.items(),key ...
分类:编程语言   时间:2020-03-02 20:33:07    阅读次数:121
三、代码折叠
[TOC] "原文地址" Folding in code 三、代码折叠 Folding in code is quite different in UDL 2.1. Instead of two keyword sets (open and close), now we have three key ...
分类:其他好文   时间:2020-03-02 20:32:16    阅读次数:70
LeetCode-21 Merge Two Sorted Lists Solution (with Java)
1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 * Definition for singly-linked list. 4 * public class ListNod ...
分类:编程语言   时间:2020-03-02 15:09:28    阅读次数:72
LeetCode-1365 How Many Numbers Are Smaller Than the Current Number Solution with python
1. Description notes: 2. Examples: 3. Solution: 1 """ 2 created by sheepcore on 2020-03-02 3 """ 4 from typing import List 5 6 7 def smallerNumbersTha ...
分类:编程语言   时间:2020-03-02 10:44:31    阅读次数:78
LeetCode练题——118. Pascal's Triangle
1、题目 Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two nu ...
分类:其他好文   时间:2020-03-01 23:19:06    阅读次数:67
(点的配对)二分图最大匹配
传送门:https://abc091.contest.atcoder.jp/tasks/arc092_a?lang=en 题目:On a two-dimensional plane, there are N red points and N blue points. The coordinates ...
分类:其他好文   时间:2020-03-01 20:17:00    阅读次数:104
17004条   上一页 1 ... 69 70 71 72 73 ... 1701 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!