计划制作一个背单词的web应用,很不顺利的找到了资源,拿到的是.bak文件,导入到sqlserver倒是简单,现在我想把数据导到mongolab,遇到了一些坑,特地记录下来(老了,记不住啊)mongolab 支持binary,json,csv所以我将数据导出成.csv1.数据库--任务--导出数据2...
分类:
数据库 时间:
2014-10-24 20:24:52
阅读次数:
372
(1)android.app.Fragment:兼容的最低版本是android:minSdkVersion="11"
因此你的应用不能兼容3.0以下的应用。
可以使用标签的,这点很重要,如果是用android.support.v4.app.Fragment的话,是不能是用标签的,会抛出android.view.InflateException: Binary XML file line...
分类:
移动开发 时间:
2014-10-24 18:54:47
阅读次数:
142
问题描述:
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...
分类:
其他好文 时间:
2014-10-24 16:33:10
阅读次数:
117
1.Link Binary With Libraries 中添加libz.dyllb2.复制OpenSSL(libssl.a & libcryto.a &NSData+CocoaDevUsersAdditions.h &NSData+CocoaDevUsersAdditions.m)到文件目录中,并...
分类:
其他好文 时间:
2014-10-24 16:03:05
阅读次数:
119
今早起来做 LeetCode,结果被这道题卡了将近1个半小时,忍着没有去搜答案,最后还是被我想出来了,而且直接一次AC,哈哈!现在在这里记录一下解题思路。原题:Givenn, generate all structurally uniqueBST's(binary search trees) t.....
分类:
其他好文 时间:
2014-10-24 15:57:21
阅读次数:
202
示例数据表: CREATE?TABLE?test_bin?(
???bin_id?BINARY(16)?NOT?NULL
)?Engine=InnoDB; 插入数据(内容是一个32位的UUID字符串值): INSERT?INTO?test_bin(bin_id)?VALUES(UNHEX(‘FA34E10293CB428...
分类:
数据库 时间:
2014-10-24 13:10:00
阅读次数:
3565
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate exists in...
分类:
其他好文 时间:
2014-10-24 13:06:25
阅读次数:
224
题目描述:
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.
解题思路:直接DFS。
代码:
/**...
分类:
其他好文 时间:
2014-10-24 13:04:21
阅读次数:
147
问题描述:
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
解...
分类:
其他好文 时间:
2014-10-24 13:03:03
阅读次数:
148
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
Show Tags
Have you been asked this question in an interview?
...
分类:
其他好文 时间:
2014-10-23 17:47:23
阅读次数:
229