题目描述 Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The ...
分类:
其他好文 时间:
2020-04-23 00:51:39
阅读次数:
73
"A. Candies and Two Sisters" + 将糖果分为a,b两份,且a t; while(t ){ cin n; cout t; while(t ){ cin n a b; for(int i = 0; i book; int main(void){ ios::sync_with_ ...
分类:
其他好文 时间:
2020-04-22 13:42:51
阅读次数:
85
目标检测轻量化压缩 目标检测难点概述 目标检测是计算机视觉中一个重要问题,在行人跟踪、车牌识别、无人驾驶等领域都具有重要的研究价值。近年来,随着深度学习对图像分类准确度的大幅度提高,基于深度学习的目标检测算法逐渐成为主流。 自 2014 年以来,目标检测框架分为two-stage 和 one-sta ...
分类:
其他好文 时间:
2020-04-22 09:44:54
阅读次数:
61
The "eight queens puzzle" is the problem of placing eight chess queens on an 8 chessboard so that no two queens threaten each other. Thus, a solution ...
分类:
其他好文 时间:
2020-04-21 23:40:06
阅读次数:
92
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2020-04-21 18:36:52
阅读次数:
67
<script type="text/javascript"> $(function () { var obj = { name: "军需品", myclass: [{ one: 1, two: 2, three: 3 }, { one: 11, two: 22, three: 33 }, { on ...
分类:
编程语言 时间:
2020-04-21 09:18:21
阅读次数:
92
let arr1 = ['one', 'two', 'there'], arr2 = ['red', 'yellow', 'blue'], arr3 = ['brid', 'dog', 'pig'], arr4 = ['orange','apple','banner' ...
分类:
编程语言 时间:
2020-04-20 16:07:43
阅读次数:
82
Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = 1673 ...
分类:
其他好文 时间:
2020-04-20 11:55:53
阅读次数:
62
Problem : Given two integers L and R, find the count of numbers in the range [L, R] (inclusive) having a prime number of set bits in their binary repr ...
分类:
其他好文 时间:
2020-04-20 11:50:44
阅读次数:
65
此博客链接: 两数相加() 题目链接:https://leetcode-cn.com/problems/add-two-numbers/comments/ class Solution { public ListNode addTwoNumbers(ListNode l1, ListNode l2) ...
分类:
其他好文 时间:
2020-04-20 10:27:00
阅读次数:
77