1. A2DP Introduction
The Advanced Audio Distribution Profile (A2DP) defines the protocols and procedures
that realize distribution of audio content of high-quality in mono or stereo on ACL
channels...
分类:
移动开发 时间:
2014-06-24 23:15:47
阅读次数:
509
【问题】
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
【代码】
class Solution:
# @param s, a string
# @retu...
分类:
其他好文 时间:
2014-06-24 21:00:30
阅读次数:
168
Java栈与堆 ----对这两个概念的不明好久,最终找到一篇好文,拿来共享 1. 栈(stack)与堆(heap)都是Java用来在Ram中存放数据的地方。与C++不同,Java自己主动管理栈和堆,程序猿不能直接地设置栈或堆。 2. 栈的优势是,存取速度比堆要快,仅次于直接位于CPU中的寄存器。但缺...
分类:
编程语言 时间:
2014-06-24 15:00:48
阅读次数:
278
function ret = GenColorList() ret = [ 0 0 255; # blue 138 43 226; # blueviolet 165 42 42; # brown 210 105 30; # chocolate 0 100 0; # dark-g...
分类:
其他好文 时间:
2014-06-24 14:11:38
阅读次数:
199
BackgroundAfter trying to solve problem EDIT1(Editor) and being ****ed by Brainf**k, Blue Mary decided to set another difficult problem about editor.D...
分类:
其他好文 时间:
2014-06-24 11:43:44
阅读次数:
245
深度优先算法
问题
给定一个有向图,判断其顶点能否到达另外一个顶点。
解决办法
使用深度优先算法,和无向图中的是一样的。
代码
import java.util.Stack;
/**
* Created by caipeichao on 14-6-11.
*/
public class Digrap...
分类:
其他好文 时间:
2014-06-22 21:32:28
阅读次数:
250
先普及小知识:
STL 中栈的使用方法(stack)
基本操作:
push(x) 将x加入栈中,即入栈操作
pop() 出栈操作(删除栈顶),只是出栈,没有返回值
top() 返回第一个元素(栈顶元素)
size() 返回栈中的元素个数
empty() 当栈为空时,返回 true
STL 中队列的使用(queue)
基本操作:...
分类:
其他好文 时间:
2014-06-22 19:09:51
阅读次数:
169
TGLStackedViewControllerA stack layout with gesture-based reordering using UICollectionView -- inspired by Passbook and Reminders apps.这是一种使用了UICollec...
分类:
其他好文 时间:
2014-06-22 10:47:19
阅读次数:
290
一介绍:
`.ARM.exidx` is the section containing information for unwinding the stack. If your C program has functions that print out a stack backtrace, the functions will likely depend on this section bei...
分类:
其他好文 时间:
2014-06-22 00:31:07
阅读次数:
618
1.顺序容器的类型顺序容器:vector 支持快速随机访问list 支持快速插入/删除deque 双端队列顺序容器适配器:stack 后进先出(LIFO)栈queue 先进先出(FIFO)队列priority_queue 有优先级管理的队列
分类:
其他好文 时间:
2014-06-21 15:31:26
阅读次数:
235