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
leeetcode 33. Search in Rotated Sorted Array leetcode 81 leetcode 153. Find Minimum in Rotated Sorted Array 这几道的相似处是:都是部分有序的数组,可以用二分搜索来做。最重要的是判断到底是左区间 ...
分类:
其他好文 时间:
2020-04-04 09:16:41
阅读次数:
75
https://leetcode.com/problems/search-in-rotated-sorted-array/ 解法一:本来有序的数组经过rotate后,分成了两部分。以最大值为分割点。通过二分搜索找最大值。然后在[0 , maxi] , 和[maxi + 1 , nums.size() ...
分类:
其他好文 时间:
2020-04-04 00:17:58
阅读次数:
61
TOOL: data analysis --rank and percentile AVERAGE(), TRIMMEAN(...,percenatge) , MEDIAN() , MODE() , PERCENTILE(...,k) , QUARTILE(...,k) var/Var:方差 VAR ...
分类:
其他好文 时间:
2020-04-03 16:49:55
阅读次数:
67
论文提出了实时的超轻量级two stage detector ThunderNet,靠着精心设计的主干网络以及提高特征表达能力的CEM和SAM模块,使用很少的计算量就能超越目前的one stage detectors,在ARM平台也达到了实时性,GPU的速度更是达到267fps 来源:【晓飞的算法工 ...
分类:
Web程序 时间:
2020-04-03 13:55:05
阅读次数:
221
According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insert ...
分类:
其他好文 时间:
2020-04-03 13:46:45
阅读次数:
70
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
Problem : Given two arrays, write a function to compute their intersection. Example 1: Example 2: Note: Each element in the result must be unique. The ...
分类:
其他好文 时间:
2020-04-02 01:22:47
阅读次数:
64
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solu ...
分类:
其他好文 时间:
2020-04-01 16:35:39
阅读次数:
55