题目描述:给予两个二叉树 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
先看效果 仅仅用了 50张 训练照片,训练了 1000步 之后进行测试,发现效果好得令人称奇。 之前用YOLO训练很难收敛。(虽然two stage方法精度更高,这种比较虽然有些不合理) Mask RCNN沿用了Faster RCNN的思想,特征提取采用ResNet FPN的架构,另外多加了一个Ma ...
分类:
其他好文 时间:
2019-12-29 16:38:57
阅读次数:
107
题号 题目链接 说明 基础 27 Remove Element 26 Remove Duplicates from Sorted Array 80 Remove Duplicates from Sorted Array II 277 Find the Celebrity 189 Rotate Arr ...
分类:
其他好文 时间:
2019-12-29 12:57:11
阅读次数:
77
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
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
输出输入的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
一、数据类型之字典 字典是python中唯一的映射类型,采用键值对(key-value)的形式存储数据。python对key进行哈希函数运算,根据计算的结果决定value的存储地址,所以字典是无序存储的,且key必须是可哈希的。可哈希表示key必须是不可变类型,如:数字、字符串、元组。 字典(dic ...
分类:
编程语言 时间:
2019-12-28 20:36:12
阅读次数:
81
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
Redis常用API和持久化机制 一、Redis常用API 参考命令:http://redisdoc.com/geo/index.html Redis支持的数据类型比较广泛,例如:string(字符串)、list(链表)、set(集合)、hash(哈希类型和zset(sorted set --有序集 ...
原题链接在这里:https://leetcode.com/problems/backspace-string-compare/ 题目: Given two strings S and T, return if they are equal when both are typed into empty ...
分类:
其他好文 时间:
2019-12-28 09:34:46
阅读次数:
77