Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:
其他好文 时间:
2014-11-24 20:46:06
阅读次数:
180
1、把下面两个aidl文件放在自己的工程中,自己的项目视为客户端,来实现跨进程通信。
代码如下:
建立包名:
/*
**
** Copyright 2007, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not ...
分类:
移动开发 时间:
2014-11-24 12:00:26
阅读次数:
247
window.close(), scripts may not close windows that were not opened by script...
分类:
Windows程序 时间:
2014-11-24 11:56:00
阅读次数:
1561
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.C++实现代码:#inclu...
分类:
其他好文 时间:
2014-11-24 11:47:33
阅读次数:
281
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.提交成功的代码:C++实现:#...
分类:
其他好文 时间:
2014-11-24 11:26:30
阅读次数:
251
前言
这个系列是关于Tachyon的,主要基于《Reliable, Memory Speed Storage for Cluster Computing Frameworks 》这篇论文以及源码,最近工作比较忙,精力实在有限,可能更新得比较慢
简介
Tachyon是一个分布式文件系统,提供了一种可靠的方式,可以以访问内存的速度在不同的分布式计算框架之间共享数据。Tachy...
分类:
其他好文 时间:
2014-11-24 10:15:44
阅读次数:
173
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representatio...
分类:
其他好文 时间:
2014-11-24 06:27:02
阅读次数:
202
ZigZag ConversionThe string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern...
分类:
其他好文 时间:
2014-11-23 17:30:46
阅读次数:
289
前言:要调整状态栏布局,需反编译systemui.apk。单卡机修改status_bar.xml和signal_cluster_view.xml,双卡机修改gemini_status_bar.xml和gemini_signal_cluster_view.xml。我的是联想a820双卡机一、状态栏显示...
分类:
移动开发 时间:
2014-11-23 15:51:08
阅读次数:
249
今天配置mongodb cluster问题: 执行./mongo或 ./mongo localhost:27017都不能进入mongo命令行解决: ./mongocluster1:27017 、原因: mongo.conf文件bind_ip=cluster1,一定要对应(即使localhost也.....
分类:
其他好文 时间:
2014-11-23 14:23:02
阅读次数:
129