码迷,mamicode.com
首页 >  
搜索关键字:b. ohana cleans up    ( 7828个结果
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:其他好文   时间:2014-11-26 22:48:27    阅读次数:255
[leetcode]
问题描述: Follow up for "Find Minimum in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Suppose a sorted array is rotated at som...
分类:其他好文   时间:2014-11-26 22:40:43    阅读次数:240
数据持久化之冷、热备份
takeover为冷备份 冷备份 cold back-up; 热备份 warm/hot backup 冷备份发生在数据库已经正常关闭的情况下,当正常关闭时会提供给我们一个完整的数据库。冷备份时将关键性文件拷贝到另外的位置的一种说法。对于备份Oracle信息而言,冷备份时最快和最安全的方法。冷备份的优点是: 1、 是非常快速的备份方法(只需拷文件) 2、 容易归档(简...
分类:其他好文   时间:2014-11-26 21:00:10    阅读次数:251
LeetCode[Linked List]: Linked List Cycle
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 这个题目如果没有空间复杂度O(1)的限制,我可以想到的方法就是:遍历整个list,将每个节点的地址存入一个vector,如果发现某个节点的next的地址已经在vec...
分类:其他好文   时间:2014-11-26 19:02:15    阅读次数:119
storm文档(4)----开发环境环境搭建
转载请注明出处: 源地址:http://storm.apache.org/documentation/Setting-up-development-environment.html   本文大体介绍了如何搭建Storm开发环境。总的来说,步骤如下:   1、下载storm release版本。解压缩,然后将解压缩版本的/bin目录放在你的环境变量PATH中。   2、远程集群上top...
分类:其他好文   时间:2014-11-26 18:58:24    阅读次数:135
LeetCode[Linked List]: Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 这个题目跟Linked List Cycle一样,我也没有能够自己独立找到解决方法,...
分类:其他好文   时间:2014-11-26 18:57:10    阅读次数:126
SVN常用的命令
SVN是一个开源的版本控制系统,它是一种集中式的版本控制系统,工作时需要联网;而现在比较流行的Git是一种分布式的版本控制系统,关于两者的比较可以参考SVN和Git的比较 下面只是来介绍下SVN中常用的命令,我安装的版本是Ubuntu 12.04 SVN 1.7 一、如果不清楚SVN可以使用哪些命令,只要help就会列出所有的命令,但常用的命令只有几个而已 svn help — Help...
分类:其他好文   时间:2014-11-26 18:55:59    阅读次数:262
Linux常用命令(6)-性能瓶颈分析(java)
top:top命令监控CPU利用率,进程状态和内存利用率并且可以详细列出每一个进程占用了多少CPU和多少内存。 [map@ctb-test sectionLocus]$ top top - 10:52:24 up 99 days, 21:31,  6 users,  load average: 1.67, 2.01, 1.83 Tasks: 665 total,   2 running,...
分类:编程语言   时间:2014-11-26 18:53:23    阅读次数:340
[LeetCode] Search in Rotated Array II
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:其他好文   时间:2014-11-26 13:45:50    阅读次数:179
Linux-0.11内核源码分析系列:内存管理up_wp_page()与do_wp_page()函数分析
/* * up_wp_page()函数用于解除物理页的共享状态,同时给发生写时复制的进程提供一页新的 * 物理页,新物理页是之前共享页的数据相同的拷贝。 * table_entry是共享物理页的地址的指针,即页表实际地址+表内偏移地址 */ void un_wp_page(unsigned long * table_entry) { unsigned long old_page,new_...
分类:系统相关   时间:2014-11-26 11:29:37    阅读次数:325
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!