原创 2.LeetCode Add Two Numbers

題目: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse o

原创 YOLO面試知識點筆記

記錄一些YOLO的知識點,有可能會在面試中遇到,做個筆記。 1. YOLOV1的損失函數 2.YOLOV2的損失函數 參考:https://blog.csdn.net/ChuiGeDaQiQiu/article/detail

原创 1.Leetcode1 Two Sum

題目:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You ma

原创 約瑟夫環及其變體

1.問題描述 q1.已知n個人(以編號1,2,3…n分別表示)圍坐在一張圓桌周圍。從編號爲k的人開始報數,數到m的那個人出列;他的下一個人又從1開始報數,數到m的那個人又出列;依此規律重複下去,直到圓桌周圍的人全部出列。 q2.已

原创 構建乘積數組 (from牛客)

構建乘積數組 題目:給定一個數組A[0,1,…,n-1],請構建一個數組B[0,1,…,n-1],其中B中的元素B[i]=A[0]A[1]…*A[i-1]A[i+1]…*A[n-1]。不能使用除法。 解題思路:先算下三角中的連乘,

原创 字符串的排列(牛客)

## 標題字符串的排列 1.題目 :輸入一個字符串,按字典序打印出該字符串中字符的所有排列。例如輸入字符串abc,則打印出由字符a,b,c所能排列出來的所有字符串abc,acb,bac,bca,cab和cba。 2.解題思路:

原创 Faster-RCNN學習

一文讀懂Faster RCNN:https://zhuanlan.zhihu.com/p/31426458 Faster RCNN 學習筆記 : https://www.cnblogs.com/wangyong/p/8513563.htm

原创 在代碼中分析VINS

1.在代碼中分析VINS—圖解feature_tracker.cpp 2.在代碼中分析VINS—圖解特徵點管理(feature_manager.h)

原创 2.在代碼中分析VINS---圖解特徵點管理(feature_manager.h)

這篇博客主要講解VINS中特徵點的管理,它主要涉及3個類,位於feature_manager.h中的FeaturePerFrame、FeaturePerId、FeatureManager 1.特徵點管理示意圖 上圖中有兩個路標特

原创 1.在代碼中分析VINS---圖解feature_tracker.cpp

該文件的主要函數爲void FeatureTracker::readImage(const cv::Mat &_img, double _cur_time) 該文件的中文註釋代碼以放到我的github上,代碼結合我下面畫的圖更容易理

原创 單鏈表反轉

鏈表有以下三個數據組成 程序: #include "iostream" #include<unordered_set> #include<algorithm> #include <malloc.h> using namespace

原创 map、set、unordered_map、unordered_set

基本概念 map是(關鍵字,值)對的集合,例如,可以將一個人的名字作爲關鍵字,將其電話號碼作爲值,我們可以將這個人的名字作爲下標獲取此人的電話號碼。 set是(關鍵字)的簡單集合,當只是想知道一個值是否存在時,set是最有用的。例如,

原创 3.Leetcode Longest Substring Without Repeating Characters

題目 Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb

原创 快速排序擴展---topK

#include "iostream" #include "string.h" int partition(int a[],int left,int right) { int i = left; int j = right; in

原创 快速排序

#include "iostream" int partition(int a[],int left,int right) { int i = left; int j = right; int temp = a[i]; whil