码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
有多少小于当前数字的数字
此博客链接: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
Lottery
0x01 修改金币到8位,才能买东西 robots.txt中发现.git泄露 下载附件,得到源码 审计api.php 我们传入的值与随机生成的值进行比较, 按照相同的个数,得到不同的钱 if($numbers[$i] == $win_numbers[$i]) 存在若类型比较 抓包修改json值 tr ...
分类:其他好文   时间:2020-05-07 00:46:32    阅读次数:132
1127 ZigZagging on a Tree (30分)
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
JS两种同步写异步的方法
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
leetcode 132 Palindrome Partitioning II
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
【数组】167. 两数之和 II - 输入有序数组
题目: 解答: 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
Linux add key
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
1073 Scientific Notation
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
9163条   上一页 1 ... 23 24 25 26 27 ... 917 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!