安装Matlab 默认安装之后没有添加系统路径,从终端启动matlab时只能指定完整路径 /usr/local/MATLAB/R20xx/bin/matlab 有两种解决方法: 将上述路径加入PATH 在目录/usr/local/bin里面创建一个指向上述路径的符号链接 sudo ln -s /us ...
分类:
Web程序 时间:
2020-07-18 00:53:54
阅读次数:
103
在Linux下安装redis的时候,执行make报 make[1]: *** [adlist.o] 错误,百度后发现是因为 Redis是C实现的,需要gcc进行编译,而我装的centos 7默认是没有安装的,需要自己进行安装。 通过yum进行安装: yum install -y gcc g++ gc ...
分类:
系统相关 时间:
2020-07-18 00:52:08
阅读次数:
73
总目录 > 6 数学 > 6.2 快速幂 前言 很早就知道的一个知识点了,应用场景很多,很实用。 子目录列表 1、概念 2、算法描述 3、具体思路 4、代码 5、应用 6.2 快速幂 1、概念 快速幂,学名为二进制取幂(Binary Exponentiation),是一个在 O(log n) 时间内 ...
分类:
其他好文 时间:
2020-07-18 00:51:00
阅读次数:
53
Neutron服务运维 (1)Neutron查询 使用Neutron相关命令查询网络服务的列表信息中的“binary”一列 (2)查询网络详细信息 (3)查询Neutron相关组件服务 使用Neutron相关命令查询网络服务DHCP agent的详细信息(id为查询到DHCP agent服务对应id ...
分类:
其他好文 时间:
2020-07-17 19:51:48
阅读次数:
118
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), r ...
分类:
其他好文 时间:
2020-07-17 13:55:38
阅读次数:
71
源码编译安装 http://nginx.org/en/download.html 到官网下载,然后用XFTP上传到root目录 把文件解压出来 tar -zxvf nginx-1.16.0.tar.gz 然后用yum安装依赖项 yum install gcc pcre-devel zlib-deve ...
分类:
其他好文 时间:
2020-07-17 09:27:00
阅读次数:
72
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode() {} * TreeNode(int val) { ...
分类:
其他好文 时间:
2020-07-16 00:01:06
阅读次数:
61
题目描述链接:https://leetcode-cn.com/problems/search-in-a-binary-search-tree/ 基本思路:等于返回,当前节点值大于搜索值从左子树搜索,小于从右子树搜索。以此可以用递归或迭代法实现,下面分别展示两种方法; (1)采用递归的方法 LeetC ...
分类:
其他好文 时间:
2020-07-15 23:43:11
阅读次数:
76
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ ...
分类:
其他好文 时间:
2020-07-15 23:40:01
阅读次数:
70
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ ...
分类:
其他好文 时间:
2020-07-15 23:31:48
阅读次数:
66