参考以下博客: 1.https://segmentfault.com/a/1190000015917420 2.https://blog.csdn.net/chenzhenyu123456/article/details/80751477(主要参考) 3.https://zhuanlan.zhihu ...
分类:
Web程序 时间:
2020-03-03 22:14:10
阅读次数:
230
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 */ 4 class Solution { 5 public int minAddToMakeValid(S ...
分类:
编程语言 时间:
2020-03-02 15:08:12
阅读次数:
76
Given a m x n grid. Each cell of the grid has a sign pointing to the next cell you should visit if you are currently in this cell. The sign of grid[i] ...
分类:
其他好文 时间:
2020-03-02 10:51:12
阅读次数:
71
一.创建Android项目 1.选择Emtpy Activity=>Next 2.配置项目 输入Name(名称) Package.name(包名) Save location(保存位置) Language(语言) Minimum API level(最低的API级别) 注意:路径和包名不能有中文 3 ...
分类:
移动开发 时间:
2020-02-29 13:16:26
阅读次数:
101
什么是页面静态化 页面静态化分为两种 一种伪静态,即url重写,一种纯静态化。 一、静态化的优点: 1有利于搜索引擎收录网站页面的信息:搜索引擎更喜欢静态的,更变于抓取,搜索引擎SEO排名会更容易提高。 2静态网页化网页稳定 3可以提高网页加载速度 4减轻服务器负担,浏览器不需要频发调用数据库。 5 ...
分类:
Web程序 时间:
2020-02-29 11:38:05
阅读次数:
108
Problem Statement Link Clarification: The problem states that for each pair of points, we consider the minimum possible distance over any possible mom ...
分类:
其他好文 时间:
2020-02-29 00:30:43
阅读次数:
61
You are given three integers a≤b≤ca≤b≤c . In one move, you can add +1+1 or ?1?1 to any of these integers (i.e. increase or decrease any number by one) ...
分类:
其他好文 时间:
2020-02-28 01:07:48
阅读次数:
85
1 """ 2 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). 3 Example: 4 Inpu ...
1.__Random函数的生成 The minimum value allowed for a range of values:一个范围内允许的最小值 The maximum value allowed for a range of values:一个范围内允许的最大值 Name of variab ...
分类:
其他好文 时间:
2020-02-26 18:52:31
阅读次数:
124
https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal/submissions/ 常规解法: 递归实现,迭代实现 111. Minimum Depth of Binary Tree class Solution { public ...
分类:
其他好文 时间:
2020-02-26 01:16:19
阅读次数:
91