0 引言 本文将常用的指令记录下来,以备查询。 1 git Command Meaning Reference Linking git status view all files' state, tracked or untracked, commited or un commited git st ...
分类:
系统相关 时间:
2021-02-19 13:10:17
阅读次数:
0
1、引言 最近一段时间在对卷积神经网络进行量化的过程中,阅读了部分论文,其中对于谷歌在CVPR2018上发表的论文“Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference ...
分类:
其他好文 时间:
2021-02-18 13:53:35
阅读次数:
0
组合求和( Combination Sum) 1. 题目描述 Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of ...
分类:
编程语言 时间:
2021-02-18 13:37:18
阅读次数:
0
内容简介 本文主要说明在Java8及以上版本中,使用stream().filter()来过滤一个List对象,查找符合条件的对象集合。 List对象类(StudentInfo) public class StudentInfo implements Comparable<StudentInfo> { ...
分类:
编程语言 时间:
2021-02-18 13:24:06
阅读次数:
0
We are given a matrix with rows and columns has cells with integer coordinates , where?`0 这道题给了一个R行C列的矩阵,又给了一个起始点 (r0, c0),让按照离起始点的曼哈顿距离从小到大排序坐标点。博主最先 ...
分类:
其他好文 时间:
2021-02-17 14:32:03
阅读次数:
0
题意 把字符串前面的若干个字符转移到字符串的尾部,要求只用一个函数实现 思路 利用线性代数中的矩阵求逆的思想:\((AB)^{-1} = B^{-1}A^{-1}\) 定义一个函数reverse(s, l, r),将字符串s的[l, r]区间内的元素逆置,比如abc变为cba,这个reverse() ...
分类:
其他好文 时间:
2021-02-16 12:14:14
阅读次数:
0
Number of Steps to Reduce a Number to Zero (E) 题目 Given a non-negative integer num, return the number of steps to reduce it to zero. If the current nu ...
分类:
其他好文 时间:
2021-02-16 12:04:19
阅读次数:
0
创建一个Person类 创建一个Person类 public class Person{ private String name; private Integer age; public String getName(){ return name; } public void setName(Str ...
分类:
编程语言 时间:
2021-02-16 12:01:09
阅读次数:
0
119. 杨辉三角 II 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 示例: 输入: 3 输出: [1,3,3,1] class Solution { public List<Integer> getRow(int rowI ...
分类:
其他好文 时间:
2021-02-16 11:50:12
阅读次数:
0
有时候需要把PHP的数组倒序一下,PHP很方便,一个函数搞定。
array_reverse()函数
$a=array(1,2,4,5,6);
print_r(array_reverse($a));
结果:Array ( [0] => 6
[1] => 5
[2] => 4
[3] => 2
... ...
分类:
编程语言 时间:
2021-02-15 12:23:46
阅读次数:
0