最近把做好的ipad HTML5混合应用适配到android上,发现android的webview比 iPad差太多了,android4.4由于升级到chromium,和chrome内核一致,所有问题不多,但android4.3以下的版本兼容问题太多了,只能一个一个慢慢解决了!
目前已经碰到了css3 flex box布局的兼容问题, js的兼容问题等。
Andro...
分类:
移动开发 时间:
2014-06-03 03:59:32
阅读次数:
353
【题目】
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the array.
【题意】
在“Search in Rotated Sorted Array”的基...
分类:
其他好文 时间:
2014-06-03 01:55:38
阅读次数:
173
【题目】
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:
其他好文 时间:
2014-06-03 01:07:58
阅读次数:
329
用oracle vitual
box克隆虚拟机当我们需要使用多台虚拟机的时候,如果一台一台的安装,实在是太过麻烦了。所以一般的虚拟机软件都为我们提供了克隆已有虚拟机状态的功能。Oracle
vitual box也不例外。下面我们就来介绍一下,如何用vbox克隆已有的centos系统吧。1、首先需要将...
分类:
数据库 时间:
2014-06-02 11:33:12
阅读次数:
485
【题目】
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n) space is pretty straight forward. Could you devise a constant space solution?
confused what "{1,#,2,3}" ...
分类:
其他好文 时间:
2014-06-02 10:38:17
阅读次数:
246
【题目】
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.
The right subtree of a node contains only nodes with ke...
分类:
其他好文 时间:
2014-06-02 10:29:55
阅读次数:
257
官网下载地址:http://www.microsoft.com/zh-cn/download/details.aspx?id=290661.
根据微软的下载提示,64位的Windows 7操作系统,只需下载列表的CHSx64SQLFULL_x64_CHS_Core.box、
CHSx64SQLFUL...
分类:
数据库 时间:
2014-06-02 05:47:05
阅读次数:
409
Search Insert PositionTotal Accepted:15484Total
Submissions:44816Given a sorted array and a target value, return the index if
the target is found. If ...
分类:
其他好文 时间:
2014-06-02 02:06:39
阅读次数:
214
【题目】
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 1
\ / / / \ 3 2 1 ...
分类:
其他好文 时间:
2014-06-01 15:34:24
阅读次数:
231
【题目】
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique BST's shown below.
1 3 3 2 1
\ / / / \ ...
分类:
其他好文 时间:
2014-06-01 15:33:45
阅读次数:
297