本来用superobject来解析JSON已经够用了,可惜这个东东不能在移动段使用,于是找到QJSON来处理。这是一个国内高手写开源免费的东西,赞一个。加入数据如下:{"message":"ok","status":"1","state":"3","data":[{"time":"2012-07-0...
分类:
Web程序 时间:
2014-07-03 21:32:16
阅读次数:
340
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2014-07-03 20:58:08
阅读次数:
248
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.class Solution...
分类:
其他好文 时间:
2014-07-03 20:25:21
阅读次数:
219
1、使用node-xlsx包var xlsx = require('node-xlsx'); 只支持xlsx格式2、解析的Excel文件格式如下:3、程序如下: var obj = xlsx.parse('D:/test.xlsx'); //第一个工作表的数据 var data = o...
分类:
Web程序 时间:
2014-07-03 20:14:12
阅读次数:
357
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.此题目有两种解决思路:1)递归...
分类:
其他好文 时间:
2014-07-03 20:07:01
阅读次数:
199
手机的默认的日志目录:/data/local/tmp/*/data/tmp/*/data/system/usagestats/*/data/system/appusagestates/*/data/system/dropbox/*/data/tombstones/*/data/anr/*logcat...
分类:
移动开发 时间:
2014-07-03 19:49:30
阅读次数:
654
Given preorder and inorder traversal of a tree, construct the binary tree.
分类:
其他好文 时间:
2014-07-03 19:16:03
阅读次数:
149
Given inorder and postorder traversal of a tree, construct the binary tree.
分类:
其他好文 时间:
2014-07-03 19:13:08
阅读次数:
187
refer linkThe"*and"+registers are for the system's clipboard (:help registers). Depending on your system, they may do different things. For instance, ...
分类:
其他好文 时间:
2014-07-03 12:10:56
阅读次数:
195
题目:Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ...
分类:
其他好文 时间:
2014-07-03 12:10:12
阅读次数:
191