C++1. 实现memcpyfollow up:如何优化?拓展:strcpy2.STL中vector的实现原理拓展: map,set,deque...概率题1.给N张扑克牌和一个随机函数,设计一个洗牌算法操作系统1.进程和线程有什么区别和联系海量数据1.100亿个整数,如何找到中位数网络TCP/IP...
分类:
其他好文 时间:
2015-08-02 16:36:26
阅读次数:
121
思路:首先把所有点按照坐标排序,然后以每一个点为基准点,计算其他点与这个点连线的斜率,将所有斜率排序后求最多的相同的斜率数即可。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8...
分类:
其他好文 时间:
2015-08-02 16:27:27
阅读次数:
101
c#
AndroidJavaClass up = new AndroidJavaClass ("com.unity3d.player.UnityPlayer");
AndroidJavaObject currentActivity = up.GetStatic ("currentActivity");
currentActivity.Call("StartActivity0","第一个Act...
分类:
编程语言 时间:
2015-08-02 13:41:58
阅读次数:
199
Description
'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once more the routing designers have screwed up completely, making the signals on the chip connec...
分类:
其他好文 时间:
2015-08-02 08:57:33
阅读次数:
181
题目:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum...
分类:
其他好文 时间:
2015-08-02 08:50:43
阅读次数:
91
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,15,7},
...
分类:
其他好文 时间:
2015-08-01 22:07:00
阅读次数:
129
要想打开OEM的web管理程序,必须先启动Database listener,再启动Datebase Control端口监控程序,但是碰到下面的情况。问题0: [oracle@localhost OC4J_DBConsole]$ emctl start dbconsole TZ set to PRC...
分类:
其他好文 时间:
2015-08-01 12:49:03
阅读次数:
312
【063-Unique Paths II(唯一路径问题II)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Follow up for “Unique Paths”:
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An...
分类:
编程语言 时间:
2015-08-01 08:52:40
阅读次数:
148
? /vagrant vagrant reload[default] Attempting graceful shutdown of VM...[default] Clearing any previously set forwarded ports...[default] Clearing a.....
分类:
系统相关 时间:
2015-07-31 23:15:07
阅读次数:
384
题意:有一个无向连通图,现在问添加一条边后最少还有几个桥分析:先把图缩点,然后重构图为一棵树,求出来树的直径即可,不过注意会有重边,构树的时候注意一下***********************************************************************#pra...
分类:
其他好文 时间:
2015-07-31 23:11:07
阅读次数:
246