上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 54 下一页

2020年10月19日

摘要: leetcode_medium_array problem 62. Unique Paths solution #1: code 参考 1. leetcode_62. Unique Paths; 完 阅读全文
posted @ 2020-10-19 22:48 鹅要长大 阅读(89) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 63. Unique Paths II solution #1: 动态规划二维数组; code solution #2: 动态规划一维数组; code: 参考 1. leetcode_63. Unique Paths II; 完 阅读全文
posted @ 2020-10-19 22:44 鹅要长大 阅读(94) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 73. Set Matrix Zeroes solution #1: 空间复杂度O(m*n); code solution #2: 空间复杂度O(m+n); 解题思路:记录含有零值的行和列,然后进行数值变换; code solution # 阅读全文
posted @ 2020-10-19 22:42 鹅要长大 阅读(60) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 74. Search a 2D Matrix 理解题意:在递增数组中查询是否存在某个数值; solution #1: 双重循环; code solution #2: 解题思路:每行判断target数值是否在其中,然后再在所在行查询; cod 阅读全文
posted @ 2020-10-19 22:40 鹅要长大 阅读(91) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 240. Search a 2D Matrix II 理解题意:总结数组元素的规律,任意矩形区域,左上最小,右下最大。 solution #1:以左下作为参考点,向上数值减小,向右数值增大; 解题思路: 和目标数相比较,如果目标数大,就往右 阅读全文
posted @ 2020-10-19 22:38 鹅要长大 阅读(67) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 75. Sort Colors 理解题意:本质上还是排序题。 solution #1: code 参考 1. leetcode_75. Sort Colors; 完 阅读全文
posted @ 2020-10-19 22:36 鹅要长大 阅读(98) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 78. Subsets solution #1: code solution #2: 递归; 没看明白这种方法; code 参考 1. leetcode_78. Subsets; 完 阅读全文
posted @ 2020-10-19 22:29 鹅要长大 阅读(88) 评论(0) 推荐(0)
摘要: code // show contour points. cv::Scalar color(rand()&255, rand()&255, rand()&255); // cv::Mat showimg1 = cv::Mat::zeros(cv::Size(out_w_, out_h_), CV_8 阅读全文
posted @ 2020-10-19 22:26 鹅要长大 阅读(1010) 评论(0) 推荐(0)
摘要: problem 1566. Detect Pattern of Length M Repeated K or More Times solution#1: brute search; hint: Use a three-layer loop to check all possible pattern 阅读全文
posted @ 2020-10-19 22:10 鹅要长大 阅读(128) 评论(0) 推荐(0)
摘要: problem 1572. Matrix Diagonal Sum hint There will be overlap of elements in the primary and secondary diagonals if and only if the length of the matri 阅读全文
posted @ 2020-10-19 22:06 鹅要长大 阅读(165) 评论(0) 推荐(0)
摘要: 前言 注意,CANoe软件network的CAN通道和硬件是CAN通道是一一对应的。 下午使用CANoe回灌数据的时候,trace没有数据流动,但是offline模式正常,后发现是软硬件连接不正常。 注意,有时候数据没有反应,可能是硬件连接失效,也就是可能CANoe的驱动虽在,但是软硬件没有正常连接 阅读全文
posted @ 2020-10-19 22:05 鹅要长大 阅读(18126) 评论(0) 推荐(0)

2020年9月17日

摘要: method1: ' contents to be comment. ' method2 <<eof content to be comment. eof method3 <<! content to be comment. ! 阅读全文
posted @ 2020-09-17 11:33 鹅要长大 阅读(358) 评论(0) 推荐(0)

2020年9月15日

摘要: leetcode_easy_hashmap problem 350. Intersection of Two Arrays II solution #1: 使用sort; code solution #2: 哈希表; code 参考 1. leetcode_350. Intersection of 阅读全文
posted @ 2020-09-15 22:26 鹅要长大 阅读(115) 评论(0) 推荐(0)
摘要: leetcode_easy_hashmap problem 1207. Unique Number of Occurrences solution #1: 多个map或者set; code solution #2: 排序判断; code 参考 1. leetcode_1207. Unique Num 阅读全文
posted @ 2020-09-15 22:23 鹅要长大 阅读(143) 评论(0) 推荐(0)
摘要: leetcode_easy_array problem 1431. Kids With the Greatest Number of Candies 理解题意:添加一定数量的糖果,计算能够得到最多糖果的数目。 solution #1: code: 参考 1. leetcode_1431. Kids 阅读全文
posted @ 2020-09-15 22:19 鹅要长大 阅读(121) 评论(0) 推荐(0)
摘要: 图像分割的评价标准:像素准确率PA、平均像素准确率MPA、平均交并比MIoU、频率权重交并比FWIoU; 参考 1. 论文笔记 | 基于深度学习的图像语义分割技术概述; 2. 深度学习计算机视觉图像分割领域指标mIoU(平均交并比)计算代码与逐行解析; 3. github_compute_miou; 阅读全文
posted @ 2020-09-15 22:16 鹅要长大 阅读(2393) 评论(0) 推荐(0)
摘要: 参考 1. 完 阅读全文
posted @ 2020-09-15 22:07 鹅要长大 阅读(705) 评论(0) 推荐(0)
摘要: 参考 1. 完 阅读全文
posted @ 2020-09-15 22:06 鹅要长大 阅读(405) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 81. Search in Rotated Sorted Array II solution #1: 直接法; code solution #2: 分治法; code: 注意: 1) 寻找规律,分为两部分,确定有序且升序; 2) 重复元素的 阅读全文
posted @ 2020-09-15 22:04 鹅要长大 阅读(174) 评论(0) 推荐(0)
摘要: leetcode_medium_array problem 90. Subsets II solution #1: 非递归; code 注意: 1) 先排序,后一步步添加子集; 2) 空集是任何集合的子集; 3) 重复元素的处理; solution #2: 递归; code 参考 1. leetco 阅读全文
posted @ 2020-09-15 21:56 鹅要长大 阅读(138) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 54 下一页

导航