界面效果
应用的权限
布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2014-06-03 00:45:02
阅读次数:
303
1、Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
clas...
分类:
其他好文 时间:
2014-06-02 23:13:22
阅读次数:
290
2014-06-01 BaoXinjian In
Capgemini一、摘要嵌套事物:指在一个Parent事务中嵌套的一个或多个Sub
Transaction.并且主事务与其相互影响,这种事务就称为嵌套事务。以Commit作为事务的结束自治事物:指在function,procedure等subpro...
分类:
数据库 时间:
2014-06-02 13:32:36
阅读次数:
450
The only syntax difference between JSON and the
object literal is that property names need to be wrapped in quotes to be valid
JSON. In object literal...
分类:
编程语言 时间:
2014-06-02 09:31:41
阅读次数:
394
Given a stringS, find the longest palindromic
substring inS. You may assume that the maximum length ofSis 1000, and there
exists one unique longest pa...
分类:
编程语言 时间:
2014-06-02 09:22:03
阅读次数:
328
public void Draw (IGeometry Geometry);public
void QueryBoundary (int hDC,ITransformation displayTransform,IGeometry
Geometry,IPolygon boundary);Valid ...
分类:
其他好文 时间:
2014-06-02 00:06:18
阅读次数:
440
【题目】
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"]. (Order does not matter)
【题意】
给定一个字符串,恢复并返回所有符合条件的IP串
【思路】...
分类:
其他好文 时间:
2014-06-01 13:01:56
阅读次数:
295
题目:
给定一个字符串,返回该串没有重复字符的最长子串。
分析:
1)子串:子串要求是连续的。
2)无重复,出现重复就断了,必须从新的位置开始。而新的位置就是重复字符第一次出现位置的下一个位置。
3)整个串可能没有一处重复。
那么,为了找出当前访问的字符是否出现过,要怎么做呢?当然是hash,O(1)的时间,而且既然是字符, 定义个255的hash table 就可以了,has...
分类:
其他好文 时间:
2014-06-01 10:48:31
阅读次数:
206
布局文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="...
分类:
移动开发 时间:
2014-06-01 04:04:04
阅读次数:
490
1.修改PagerTabStrip中的背景颜色我们在布局中直接设置background属性即可: <android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="fill_parent"
android:layout_height="fill_paren...
分类:
移动开发 时间:
2014-05-31 23:42:11
阅读次数:
624