题目描述:给予两个二叉树 t1 , t2 ,合并他们。 Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overl ...
分类:
其他好文 时间:
2019-12-30 09:14:14
阅读次数:
78
mm : millmeters , 毫米 , 关于屏幕的物理尺寸。 in : inches , 英寸 , 关于屏幕的物理尺寸。 pt : points , 一个标准单位,大小为一英寸屏幕大小的1/72. dpi : dots per inch , 每英寸点数,是一个计量单位,指每一英寸长度中,取样、 ...
分类:
其他好文 时间:
2019-12-29 23:27:27
阅读次数:
88
在Python中,将方法变为属性使用@property的装饰器。有时候,为了提高性能,想在仅首次调用方法property时进行计算,后续则使用缓存的值。 此时,可以使用一个类装饰器,如下: 关于__get__, \__set__, __delete__等方法的使用,可以参考 "描述符" 的参考文章, ...
分类:
其他好文 时间:
2019-12-29 20:08:48
阅读次数:
64
先看效果 仅仅用了 50张 训练照片,训练了 1000步 之后进行测试,发现效果好得令人称奇。 之前用YOLO训练很难收敛。(虽然two stage方法精度更高,这种比较虽然有些不合理) Mask RCNN沿用了Faster RCNN的思想,特征提取采用ResNet FPN的架构,另外多加了一个Ma ...
分类:
其他好文 时间:
2019-12-29 16:38:57
阅读次数:
107
Given a linked list, swap every two adjacent nodes and return its head. You may not modify the values in the list's nodes, only nodes itself may be ch ...
分类:
其他好文 时间:
2019-12-29 12:53:05
阅读次数:
85
原题链接在这里:https://leetcode.com/problems/minimum-area-rectangle-ii/ 题目: Given a set of points in the xy-plane, determine the minimum area of any rectangl ...
分类:
其他好文 时间:
2019-12-29 11:27:56
阅读次数:
68
Problem Statement Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 ...
分类:
其他好文 时间:
2019-12-29 11:21:04
阅读次数:
66
原题链接在这里:https://leetcode.com/problems/minimum-area-rectangle/ 题目: Given a set of points in the xy-plane, determine the minimum area of a rectangle for ...
分类:
其他好文 时间:
2019-12-29 10:41:19
阅读次数:
70
输出输入的n位整数的每一位之和的英文,注意一下输出的数组嵌套。 1 #include<cstdio> 2 #include<iostream> 3 using namespace std; 4 int main(){ 5 string num[10]={"zero","one","two","thr ...
分类:
其他好文 时间:
2019-12-29 01:06:51
阅读次数:
243
COMP2396 Object-oriented programming and JavaAssignment 5: A two-player Tic-Tac-Toe GameDue Date: 22th Dec 2019 23:59This assignment tests your unders ...
分类:
其他好文 时间:
2019-12-28 19:24:48
阅读次数:
92