Nothing special. Just take care of corner cases. class Solution { public: /** * @param head a ListNode * @oaram v1 an integer * @param v2 an integer * ...
分类:
其他好文 时间:
2016-04-01 14:34:50
阅读次数:
149
原文:http://www.html5rocks.com/en/tutorials/webrtc/infrastructure/
WebRTC可以进行p2p之间的通信,但是仍需要服务支持.
1. signaling服务: 客户端之间交换元数据来建立通信.
2. 穿透NATs和防火墙.
在本文中,我们想你展示如何构建一个signaling服务,如何用STUN/TURN...
分类:
Web程序 时间:
2016-03-30 13:08:17
阅读次数:
316
Each rectangle is defined by its bottom left corner and top right corner as shown in the figure. Assume that the total area is never beyond the maximu ...
分类:
其他好文 时间:
2016-03-30 06:54:01
阅读次数:
119
Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2
分类:
其他好文 时间:
2016-03-21 07:06:40
阅读次数:
205
题目: There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle ev
分类:
其他好文 时间:
2016-03-21 01:44:18
阅读次数:
196
题目描述: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at
分类:
其他好文 时间:
2016-03-18 16:00:15
阅读次数:
132
插件介绍随着使用互联网的人越来越多在网络上看视频已是常事一些相关的软件就运应而生今天为大家推荐一个能够提高用户们看视频体验的插件。关灯看视频TurnOfftheLights观看视频时自动调暗页面让您仿佛置身于电影院中只要轻轻按下灯的开关页面就会暗淡下去。然后您就可以专心享..
分类:
其他好文 时间:
2016-03-16 01:23:12
阅读次数:
151
1. A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at an
分类:
其他好文 时间:
2016-03-12 22:51:03
阅读次数:
180
A robot is located at the top-left corner of a m x ngrid (marked 'Start' in the diagram below). The robot can only move either down or right at any po
分类:
其他好文 时间:
2016-03-10 07:06:00
阅读次数:
137
1.Shape drawable:改变组件的形状和渐变xml shape标签 corner标签:改变轮廓 gradient:颜色填充的渐变 android:angle android:angle=“0”时,是从左到右,按照开始颜色到结束颜色来渲染 的, android:angle=“90”是从上到下
分类:
其他好文 时间:
2016-03-09 12:46:05
阅读次数:
132