码迷,mamicode.com
首页 > 2015年03月19日 > 全部分享
MongoDB基础入门视频教程
MongoDB基础入门视频教程http://www.icoolxue.com/album/show/98...
分类:数据库   时间:2015-03-19 06:28:31    阅读次数:133
Codeforces Round #296 (Div. 2) A B C D
A:模拟辗转相除法时记录答案 B:3种情况:能减少2,能减少1,不能减少分别考虑清楚 C:利用一个set和一个multiset,把行列分开考虑,利用set自带的排序和查询,每次把相应的块拿出来分成两块插入回去,然后行列分别取最大相乘的作为这次询问的答案 D:一个区间覆盖问题的变形,注意公式的话,很容易发现其实x,w对应的就是一个[x - w, x + w]的区间,然后求最多不重合区间即可 ...
分类:其他好文   时间:2015-03-19 06:27:31    阅读次数:143
浅解ARC中的 __bridge、__bridge_retained和__bridge_transfer
在对 __bridge 相关的关键字讲解前,首先了解以下内容 Core Foundation 是一组C语言接口,它与Foundation为相同功能提供接口,只是Foundation框架提供的是Objective-C接口。 文章来源:http://www.outflush.com/2015/03/introduction-of-arc-bridge-type-transfer/...
分类:其他好文   时间:2015-03-19 06:27:38    阅读次数:150
Android基础笔记(十六)- Service:startService()、stopService()、bindService()、unbindService()补充
开门见山 第一种 第二种 第三种 总结开门见山开启服务有三种情况:如果直接使用服务,则没有必要进行绑定,但是如果要使用服务里面的方法,则要进行绑定。 具体的启动情况有下: ①调用startService(),再调用stopService()。②单独调用bindService()方法,再unbindService()后,以执行服务内部的方法。③先调用startService(),再调用bindServ...
分类:移动开发   时间:2015-03-19 06:26:52    阅读次数:242
Linux视频培训教程
非常好的LINUX详尽培训教程,即包括日常工作经常要用到的实践及技巧,又包括LINUX认证及系统管理及架构,讲的还不错!最关键的,这么详细,完整的教程还是免费的,花了点时间拿它整理了下。 第一部分: Linux RHCE认证系统详解(主要针对RHCE认证) 第二部分: 实践与技巧(主要针对工作中要用到的知识及技能,如果只是满足日常工作,这部分就够了!) 第三部分: RHEL企业级Linux服务全攻略(主要针对系统管理员,系统架构师)...
分类:系统相关   时间:2015-03-19 06:25:30    阅读次数:278
LeetCode Maximum Depth of Binary Tree
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.思路分析:这题比较简单,关于树的题目通常都可以用递归解决,这题也不例外,递归解法的思...
分类:其他好文   时间:2015-03-19 06:23:34    阅读次数:126
LeetCode Same Tree
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.思路分析:判断两个树是否相同,基本也...
分类:其他好文   时间:2015-03-19 06:23:30    阅读次数:95
ADSL看见了看见过
http://bbs.uuu9.com/space-uid-753278.html http://bbs.uuu9.com/thread-11335568-1-1.html http://bbs.uuu9.com/thread-11335595-1-1.html http://bbs.uuu9.com/thread-11335642-1-1.html http://bbs.uuu9.com...
分类:其他好文   时间:2015-03-19 06:23:31    阅读次数:165
Unity3D 射线指定层获取GameObject 注意
这一篇是纯技术讨论,看过我前面文章的童鞋应该清楚,我的奔跑是靠鼠标响应的,鼠标点到哪就跑到哪,后来又有了界面,麻烦就来了,我的界面竟然能点 穿,我不希望点界面的时候还能点到界面后面的地面上,角色傻不拉几的往那跑,那肿么办呢,总不能每次点击都要判断点击的物体名称吧,那界面多了会累死的, 好在我们有标签和层这两个神器,所以我这里介绍两种方案,都能达到效果。 方案一:利用标签(Tag)...
分类:编程语言   时间:2015-03-19 06:24:38    阅读次数:296
LeetCode – Refresh – Convert Sorted Array to Binary Search Tree
It is kind of binary search. Since this is a sorted array, we can treat it as inorder traversal. And we can define the root node for the Tree.So find ...
分类:其他好文   时间:2015-03-19 06:19:48    阅读次数:105
【转】Hadoop FS Shell命令
FS Shell调用文件系统(FS)Shell命令应使用bin/hadoop fs 的形式。 所有的的FS shell命令使用URI路径作为参数。URI格式是scheme://authority/path。对 HDFS文件系统,scheme是hdfs,对本地文件系统,scheme是file。其中sc...
分类:系统相关   时间:2015-03-19 06:19:26    阅读次数:234
LeetCode – Refresh – Clone Graph
1. Use BFS to search the graph.2. Create a hashtable to record the one to one mapping. 1 /** 2 * Definition for undirected graph. 3 * struct Undirec.....
分类:其他好文   时间:2015-03-19 06:19:16    阅读次数:125
SqlServer将没有log文件的数据库文件附加到服务器中
今天搞了一件很让我不爽的事情,一不小心把一个40多G的数据库日志文件删除,而且在删除之前我又搞了个日志进去,死活附加不了到服务器上去一直提示多个日志不能自动创建,白白浪费了我一个晚上的时间,后来不断的Google,终于在一个老外的博客里发现了几个语句,直接搞定,感谢他顺便记录在案。
分类:数据库   时间:2015-03-19 06:21:01    阅读次数:155
LeetCode – Refresh – Container With Most Water
The minimum height controls the volumns. So let two runner at two ends start to scan the array. 1 class Solution { 2 public: 3 int maxArea(vector ...
分类:其他好文   时间:2015-03-19 06:21:12    阅读次数:147
LeetCode – Refresh – Construct Binary Tree from Inorder and Postorder Traversal
For this problem just need to know the structure of two traversal.1. It is hard to find the root node in the inorder traversal but it is easy in posto...
分类:其他好文   时间:2015-03-19 06:19:44    阅读次数:119
LeetCode – Refresh – Combination Sum II
The different between I and II is that:1. For II, each number only can be chosen ONCE.2. The a number, in the array, encountered more than twice will ...
分类:其他好文   时间:2015-03-19 06:18:55    阅读次数:135
关于TOP (n) WITH TIES的运用
1 SELECT TOP (5) orderid, orderdate, custid, empid2 FROM Sales.Orders3 ORDER BY orderdate DESC, orderid DESC;4 5 SELECT TOP (5) WITH TIES orderid, ord...
分类:其他好文   时间:2015-03-19 06:20:19    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!