C. Swap Letters time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Monocarp has got two str ...
分类:
其他好文 时间:
2019-11-23 21:53:27
阅读次数:
142
Given a sorted integer array without duplicates, return the summary of its ranges. Example 1: Input: [0,1,2,4,5,7] Output: ["0->2","4->5","7"] Explana ...
分类:
其他好文 时间:
2019-11-23 09:21:31
阅读次数:
67
Given a collection of intervals, merge all overlapping intervals. Example 1: Input: [[1,3],[2,6],[8,10],[15,18]] Output: [[1,6],[8,10],[15,18]] Explan ...
分类:
其他好文 时间:
2019-11-21 13:53:19
阅读次数:
79
单页面应用组件通信有以下几种,这篇文章主要讲 Angular 通信 父组件 => 子组件 子组件 => 父组件 组件A = > 组件B 父组件 => 子组件 子组件 => 父组件 sibling => sibling @input @output setters (本质上还是@input) 注入父组 ...
分类:
其他好文 时间:
2019-11-19 01:17:32
阅读次数:
69
Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 1 ...
分类:
其他好文 时间:
2019-11-17 10:33:14
阅读次数:
62
[root@ken1 ~]# docker container --help Usage: docker container COMMAND Manage containers Commands: attach Attach local standard input, output, and err ...
分类:
其他好文 时间:
2019-11-09 15:27:57
阅读次数:
123
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example 1: Input: a = 1, b = 2 Output: 3 Example 2: In ...
分类:
其他好文 时间:
2019-11-09 11:46:56
阅读次数:
63
目标: BIO、NIO、AIO 的区别是什么? 同/异步、阻/非阻塞的区别是什么? 文件读写最优雅的实现方式是什么? NIO 如何实现多路复用功能? 一,IO的介绍: (1)IO的全称其实是:Input/Output的缩写。 (2)我们通常所说的 BIO 是相对于 NIO 来说的,BIO 也就是 J ...
分类:
编程语言 时间:
2019-11-03 15:02:48
阅读次数:
77
用到的是AVFoundation 需要用到Capture,Input,Output,Session,previewLayer相关类 注意: 1.输出类型错误的话,没有输出 扫描条形码 扫描二维码 2.设置output的类型必须在执行addOutput方法之后,否则会崩溃 ...
分类:
移动开发 时间:
2019-10-30 13:18:11
阅读次数:
135
231. Power of Two Easy Easy Easy Given an integer, write a function to determine if it is a power of two. Example 1: Input: 1 Output: true Explanation ...
分类:
其他好文 时间:
2019-10-25 13:39:27
阅读次数:
112