1. Merge Sort / 归并排序 /* Divide and conquer * 将一个数组中的两个相邻有序区间合并成一个 * * 参数说明: * A -- 包含两个有序区间的数组 * lo -- 第1个有序区间的起始地址。 * mi -- 第1个有序区间的结束地址。也是第2个有序区间的起始 ...
分类:
编程语言 时间:
2020-04-04 23:03:58
阅读次数:
135
Problem : Given a list of non negative integers, arrange them such that they form the largest number. Example 1: Example 2: Note: The result may be ve ...
分类:
其他好文 时间:
2020-04-04 22:44:47
阅读次数:
75
The sequence of mm integers is called the permutation if it contains all integers from 11 to mm exactly once. The number mm is called the length of th ...
分类:
其他好文 时间:
2020-04-04 14:19:57
阅读次数:
98
题目如下: Given an array of integers arr, a lucky integer is an integer which has a frequency in the array equal to its value. Return a lucky integer in t ...
分类:
其他好文 时间:
2020-04-04 14:18:51
阅读次数:
71
K个不同整数的子数组。题意是给定一个正整数数组 A,如果 A 的某个子数组中不同整数的个数恰好为 K,则称 A 的这个连续、不一定独立的子数组为好子数组。返回A中好子数组的数量。例子, Example 1: Input: A = [1,2,1,2,3], K = 2 Output: 7 Explan ...
分类:
其他好文 时间:
2020-04-04 09:53:38
阅读次数:
53
替换后的最长重复字符。题意是给一个字符串,只有大写字母,允许你替换其中的K个字母,问替换操作完成后能返回的最长字母相同的子串的长度是多少。例子, Example 1: Input: s = "ABAB", k = 2 Output: 4 Explanation: Replace the two 'A ...
分类:
其他好文 时间:
2020-04-04 09:41:15
阅读次数:
68
import os, sysdef genDir(): base = 'E:/py doc/data/' i = 0 name=['ZERO','ONE','TWO','THREE','FOUR','FIVE','SIX','SEVEN','EIGHT','NINE'] for j in range ...
分类:
编程语言 时间:
2020-04-04 09:23:26
阅读次数:
108
论文提出了实时的超轻量级two stage detector ThunderNet,靠着精心设计的主干网络以及提高特征表达能力的CEM和SAM模块,使用很少的计算量就能超越目前的one stage detectors,在ARM平台也达到了实时性,GPU的速度更是达到267fps 来源:【晓飞的算法工 ...
分类:
Web程序 时间:
2020-04-03 13:55:05
阅读次数:
221
Related Work CNN-based object detectors:CNN-based object detectors are commonly classified into two-stage detectors and one-stage detectors. In two-st ...
分类:
Web程序 时间:
2020-04-03 11:43:43
阅读次数:
87
You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read ...
分类:
其他好文 时间:
2020-04-03 00:53:51
阅读次数:
78