加密代码 unctf{b66_6b6_66b} ...
分类:
其他好文 时间:
2020-05-01 16:25:47
阅读次数:
55
复原IP地址。题意是给一个字符串,请你把它还原成IP地址。例子, Example: Input: "25525511135" Output: ["255.255.11.135", "255.255.111.35"] 首先明确一下一个valid的IP地址,是需要满足如下几个条件的 只能分成4段 每段最 ...
分类:
其他好文 时间:
2020-05-01 12:38:01
阅读次数:
62
反转链表二。也是不会做,会写homebrew也枉然的题目,但是非常容易错。题意是给一个链表和两个数字m和n,请反转m和n之间的node,只能走一次。例子, Example: Input: 1->2->3->4->5->NULL, m = 2, n = 4 Output: 1->4->3->2->5- ...
分类:
其他好文 时间:
2020-05-01 10:28:20
阅读次数:
47
题目 : 请你来实现一个 函数,使其能将字符串转换成整数。 首先,该函数会根据需要丢弃无用的开头空格字符,直到寻找到第一个非空格的字符为止。接下来的转化规则如下: 如果第一个非空字符为正或者负号时,则将该符号与之后面尽可能多的连续数字字符组合起来,形成一个有符号整数。 假如第一个非空字符是数字,则直 ...
分类:
其他好文 时间:
2020-05-01 01:11:30
阅读次数:
48
```java package 链表; /** * https://leetcode-cn.com/problems/reverse-linked-list/ * 206. 反转链表 * * 解题思路 :使用给定节点的后一个节点的值覆盖给定节点的值,然后删除下一个节点 */ public class... ...
分类:
其他好文 时间:
2020-04-30 19:39:32
阅读次数:
56
Problem : Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole arra ...
分类:
其他好文 时间:
2020-04-29 23:08:17
阅读次数:
65
自己的暴力解法class Solution { public int firstMissingPositive(int[] nums) { Set<Integer> set = new TreeSet<Integer>(); for(int num: nums){ set.add(num); } S ...
分类:
编程语言 时间:
2020-04-29 23:05:40
阅读次数:
355
//按下左侧win键 keybd_event(VK_LWIN,0,0,0); //按下tab键 keybd_event(VK_TAB,0,0,0); //抬起左侧win键 keybd_event(VK_LWIN,0,KEYEVENTF_KEYUP,0); //抬起tab键 keybd_event(V ...
1.不使用flex时,在index.wxml里写格式 2.在index.wxss里写样式 3.开始启用flex格式 3.1 flex-flow: row; 元素按照一行排列; flex-flow: column; 元素按照一列排列 3.2 flex-direction: column; 元素排列方式 ...
分类:
微信 时间:
2020-04-29 16:29:31
阅读次数:
275
题意描述 输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是否可能为该栈的弹出顺序。假设压入栈的所有数字均不相等。 输入描述 输入 : push= {1,2,3,4,5} pop = {4,5,3,2,1} 输出:true 输入 : push = {1,2,3,4,5} pop = { ...
分类:
其他好文 时间:
2020-04-29 14:43:13
阅读次数:
50