A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any p ...
分类:
其他好文 时间:
2019-12-16 09:18:17
阅读次数:
102
原题链接在这里:https://leetcode.com/problems/unique-paths-iii/ 题目: On a 2-dimensional grid, there are 4 types of squares: 1 represents the starting square. T ...
分类:
其他好文 时间:
2019-12-16 09:15:54
阅读次数:
94
C++11 std::unique_lock与std::lock_guard区别及多线程应用实例 C++11 std::unique_lock与std::lock_guard区别及多线程应用实例 C++11 std::unique_lock与std::lock_guard区别及多线程应用实例 C++ ...
分类:
编程语言 时间:
2019-12-15 21:59:10
阅读次数:
105
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic ...
分类:
其他好文 时间:
2019-12-15 00:47:24
阅读次数:
67
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assume the ...
分类:
其他好文 时间:
2019-12-13 23:28:11
阅读次数:
78
1.设置数据库为严格模式: 2.数据准备 # 创建一张部门表 create table emp( id int not null unique auto_increment, name varchar(20) not null, sex enum('male','female') not null ...
分类:
数据库 时间:
2019-12-13 21:14:50
阅读次数:
91
1.外键: 用来建立两张表之间的关系 - 一对多 - 多对多 - 一对一 研究表与表之间的关系: 1.定义一张 员工部门表 id, name, gender, dep_name, dep_desc - 将所有数据存放在一张表中的弊端: 1.结构不清晰 > 不致命 2.浪费空间 > 不致命 3.可扩展 ...
分类:
数据库 时间:
2019-12-12 19:42:42
阅读次数:
131
在这之前强调下极大值、最大值的区别:在一个函数曲线中,极大值可以有多个,最大值只有一个。所有非极大值抑制是抑制不是极大值的部分。 算法思想: 非极大值抑制的方法是:先假设有6个矩形框,根据分类器的类别分类概率做排序,假设从小到大属于车辆的概率 分别为A、B、C、D、E、F。 (1)从最大概率矩形框F ...
分类:
其他好文 时间:
2019-12-12 12:58:22
阅读次数:
93
Linux 命令行快捷键 涉及在linux命令行下进行快速移动光标、命令编辑、编辑后执行历史命令、Bang(!)命令、控制命令等。让basher更有效率。 常用 ctrl+左右键:在单词之间跳转 ctrl+a:跳到本行的行首 ctrl+e:跳到页尾 Ctrl+u:删除当前光标前面的文字 (还有剪切功 ...
分类:
系统相关 时间:
2019-12-10 15:20:17
阅读次数:
86
--语法 CREATE [ UNIQUE ] [ CLUSTERED | NONCLUSTERED ] INDEX index_name ON <object> ( column_name [ ASC | DESC ] [ ,...n ] ) [ WITH <backward_compatible_ ...
分类:
其他好文 时间:
2019-12-06 15:18:23
阅读次数:
112