64. 最小路径和 题目来源:力扣(LeetCode)https://leetcode-cn.com/problems/minimum-path-sum 题目 给定一个包含非负整数的 m x n 网格,请找出一条从左上角到右下角的路径,使得路径上的数字总和为最小。 说明:每次只能向下或者向右移动一步 ...
分类:
编程语言 时间:
2020-07-23 22:20:07
阅读次数:
58
这里有一篇很详细很好理解的文章https://blog.csdn.net/aitangyong/article/details/43231111 DOM事件流 先来理解DOM事件流: 一个元素事件的触发, 浏览器的执行顺序是:捕获阶段、目标阶段、冒泡阶段 <script> window.onload ...
分类:
其他好文 时间:
2020-07-23 15:42:28
阅读次数:
59
一、验证表单 封装一个函数用于验证手机号 /** * @param {String}eleId * @param {Object}reg */ function checkInput(eleId,reg) { var ele = document.getElementById(eleId); ele ...
分类:
编程语言 时间:
2020-07-23 09:15:36
阅读次数:
82
什么是Consul Consul 是 HashiCorp 公司推出的开源工具,用于实现分布式系统的服务发现与配置。与其它分布式服务注册与发现的方案,Consul 的方案更“一站式”,内置了服务注册与发现框架、分布一致性协议实现、健康检查、Key/Value 存储、多数据中心方案,不再需要依赖其它工具 ...
分类:
编程语言 时间:
2020-07-23 01:39:39
阅读次数:
81
NumberFormat/ DecimalFormat NuberFormat是DecimalFormat的父类 格式化数字 //获取实例 NumberFormat instance = NumberFormat.getInstance(); //获取带有金额的实例 NumberFormat cur ...
分类:
其他好文 时间:
2020-07-22 23:34:23
阅读次数:
86
Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of the set ...
分类:
其他好文 时间:
2020-07-22 20:09:57
阅读次数:
70
window下的安装 安装Erlang,rabbitMQ需要的语言环境,安装完成并且添加环境变量。 地址:https://www.erlang.org/downloads 设置环境变量: 变量名:ERLANG_HOME 变量值:D:\app\erl-23.0 (安装根目录) 修改环境变量path,增 ...
分类:
其他好文 时间:
2020-07-22 15:32:06
阅读次数:
63
地址 https://leetcode-cn.com/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof/ https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array-i ...
分类:
编程语言 时间:
2020-07-22 11:21:34
阅读次数:
62
[Lyndon分解] HDU 6761 Minimum Index (2020多校训练) 题解 待补。 Code #include <iostream> #include <algorithm> #include <cstring> #include <string> #include <cstdi ...
分类:
其他好文 时间:
2020-07-22 01:46:30
阅读次数:
178
windows生成公私钥以及应用 配置github的ssh cd 到.ssh目录下 # 一般在你的user目录下 Administrator@WIN-2R42RCRNSQR MINGW64 ~ $ cd .ssh # 生成秘钥对 Administrator@WIN-2R42RCRNSQR MINGW ...