此博客链接:https://www.cnblogs.com/ping2yingshi/p/12851708.html 有多少小于当前数字的数字(35min) 题目链接:https://leetcode-cn.com/problems/how-many-numbers-are-smaller-than ...
分类:
其他好文 时间:
2020-05-08 17:57:54
阅读次数:
115
0x01 修改金币到8位,才能买东西 robots.txt中发现.git泄露 下载附件,得到源码 审计api.php 我们传入的值与随机生成的值进行比较, 按照相同的个数,得到不同的钱 if($numbers[$i] == $win_numbers[$i]) 存在若类型比较 抓包修改json值 tr ...
分类:
其他好文 时间:
2020-05-07 00:46:32
阅读次数:
132
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:
其他好文 时间:
2020-05-06 13:56:18
阅读次数:
55
async/await https://javascript.info/async-await 需要浏览器支持,后者使用webpack转换为ES5. There’s a special syntax to work with promises in a more comfortable fashio ...
分类:
Web程序 时间:
2020-05-05 20:24:56
阅读次数:
120
函数 易错点总结 可更改(mutable)与不可更改(immutable)对象 在 python 中,strings, tuples, 和 numbers 是不可更改的对象,而 list,dict 等则是可以修改的对象。 不可变类型 :变量赋值 a=5 后再赋值 a=10 ,这里实际是==新生成一个 ...
分类:
其他好文 时间:
2020-05-05 17:44:50
阅读次数:
94
https://www.cnblogs.com/grandyang/p/4271456.html leetcode 132 https://www.cnblogs.com/grandyang/p/7404777.html leetcode 647 将字符串切割为回文的最小切割数:动态规划 p[i][ ...
分类:
其他好文 时间:
2020-05-04 19:19:24
阅读次数:
48
题目: 解答: 1 class Solution { 2 public: 3 vector<int> twoSum(vector<int>& numbers, int target) 4 { 5 int low = 0; 6 int high = numbers.size() - 1; 7 8 wh ...
分类:
编程语言 时间:
2020-05-04 17:27:43
阅读次数:
67
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 76F1A20FF987672Fadd loic key:sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com ...
分类:
系统相关 时间:
2020-05-03 14:37:54
阅读次数:
108
Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [+- ...
分类:
其他好文 时间:
2020-05-02 22:51:31
阅读次数:
58
? 第一次解题思路: 遍历数组,将数字和出现的次数装到map集合 遍历map集合,取到题目要求值 (其实不能用Map(空间复杂度O(n))) 优化 解题思路:分组位运算 ? 题目要求时间复杂度O(n),空间复杂度为O(1),因此不能用map(空间复杂度O(n)) ? 代码如下: ...
分类:
编程语言 时间:
2020-05-02 18:54:22
阅读次数:
53