- 博客(2)
- 收藏
- 关注
原创 【算法题解】LeetCode 312.戳气球
题目 有 n 个气球,编号为0 到 n-1,每个气球上都标有一个数字,这些数字存在数组 nums 中。 现在要求你戳破所有的气球。如果你戳破气球 i ,就可以获得 nums[left] * nums[i] * nums[right] 个硬币。 这里的 left 和 right 代表和 i 相邻的两个气球的序号。注意当你戳破了气球 i 后,气球 left 和气球 right 就变成了相邻的气球。 求所能获得硬币的最大数量。 说明: 你可以假设 nums[-1] = nums[n] = 1,但注意它们不是真实存
2020-07-19 14:23:10 310
原创 Github拉取代码慢问题
Github拉取代码慢问题 1、DNS加速,修改本地Hosts 参考:https://blog.csdn.net/sihai12345/article/details/98076066 2、使用Git镜像 地址:https://gitclone.com 例子:比如拉取flink的代码, 原始的命令为: git clone https://github.com/apache/flink.git 使用镜像的命令为git clone https://gitclone.com/github.comapache/
2020-07-18 12:50:20 324
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人