1495. One two, One two 2 Time limit: 2.0 second Memory limit: 64 MB A year ago the famous gangster Vito Maretti woke up in the morning and realized th ...
分类:
其他好文 时间:
2018-04-18 23:46:02
阅读次数:
336
使用ViewDragHelper打造属于自己的DragLayout(抽屉开关 ) DrawLayout这个自己定义的空间非经常见。qq,网易新闻。知乎等等,都有这样的效果,那这样的效果是如何实现的呢?本篇博客将带你来如何实现它。 转载请注明原博客地址: http://blog.csdn.net/gd ...
分类:
其他好文 时间:
2018-04-18 21:25:03
阅读次数:
229
题目 Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your functio ...
分类:
其他好文 时间:
2018-04-18 11:40:52
阅读次数:
164
一、组件间的通信 组件实例的作用域是孤立的;这意味着不能并且不应该在子组件的模板内直接引用父组件的数据。但是父子组件之间需要通信:父组件要给子组件传递数据,子组件需要将它内部发生的事情告知给父组件。 在 Vue.js 中,父子组件的关系可以总结为 props down, events up 。父组件 ...
分类:
Web程序 时间:
2018-04-17 22:25:13
阅读次数:
249
1.1文件切换的三种方式 1.1.1 Ctrl + E,在右边显示出当前打开的所有文件 1.1.2 Ctrl + Pg Up ,Ctrl + Pg Dn ,逐个文件跳跃 按下Ctrl + Pg Dn,从AdConf.java跳到 AdQuaryServiceImpl.java Before: Aft ...
分类:
系统相关 时间:
2018-04-17 22:14:20
阅读次数:
247
HTML HTML是英文Hyper Text Mark-up Language(超文本标记语言)的缩写,他是一种制作万维网页面标准语言(标记)。相当于定义统一的一套规则,大家都来遵守他,这样就可以让浏览器根据标记语言的规则去解释它。浏览器负责将标签翻译成用户“看得懂”的格式,呈现给用户!(例:dja ...
分类:
Web程序 时间:
2018-04-16 23:58:37
阅读次数:
448
Hadoop单节点模式安装 官方教程:http://hadoop.apache.org/docs/r2.7.3/ 本文基于:Ubuntu 16.04、Hadoop-2.7.3 一、概述 本文参考官方文档介绍Hadoop单节点模式(本地模式及伪分布式模式)安装(Setting up a Single ...
分类:
其他好文 时间:
2018-04-16 16:21:17
阅读次数:
156
Follow up for "Find Minimum in Rotated Sorted Array":What if duplicates are allowed? Would this affect the run-time complexity? How and why? Suppose a ...
分类:
其他好文 时间:
2018-04-15 11:54:12
阅读次数:
151
Given an integer matrix, find the length of the longest increasing path.From each cell, you can either move to four directions: left, right, up or dow ...
分类:
其他好文 时间:
2018-04-14 18:04:56
阅读次数:
341
A UIScreen object contains the bounding rectangle of the device’s entire screen. When setting up your application’s user interface, you should use the ...
分类:
移动开发 时间:
2018-04-13 14:33:11
阅读次数:
272