上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 37 下一页
摘要: Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2->3- 阅读全文
posted @ 2016-02-19 20:16 小金乌会发光-Z&M 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After rem 阅读全文
posted @ 2016-02-19 17:04 小金乌会发光-Z&M 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, swap every two adjacent(相邻的) nodes and return its head. For example,Given 1->2->3->4, you should return the list as 2->1->4->3. Y 阅读全文
posted @ 2016-02-19 15:19 小金乌会发光-Z&M 阅读(231) 评论(0) 推荐(0) 编辑
摘要: You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you nee 阅读全文
posted @ 2016-02-18 22:18 小金乌会发光-Z&M 阅读(415) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the 阅读全文
posted @ 2016-02-18 20:49 小金乌会发光-Z&M 阅读(308) 评论(0) 推荐(0) 编辑
摘要: <算法的时间复杂度和空间复杂度合称为算法的复杂度> >算法的时间复杂度 (1)时间频度 一个算法执行所耗费的时间,从理论上是不能算出来的,必须上机运行测试才能知道。但我们不可能也没有必要对每个算法都上机测试,只需知道哪个算法花费的时间多,哪个算法花费的时间少就可以了。并且一个算法花费的时间与算法中语 阅读全文
posted @ 2016-02-17 22:34 小金乌会发光-Z&M 阅读(801) 评论(0) 推荐(0) 编辑
摘要: Linux系统版本:Centos 6.5 在linux学习之centos(二):虚拟网络三种连接方式和SecureCRT的使用中,使用远程工具SecureCRT,通过“ifconfig eth0 + 具体的ip地址”命令给linux配IP地址,但是这种配置方式存在以下问题: 如果想要连接外网,ip地 阅读全文
posted @ 2016-01-24 23:11 小金乌会发光-Z&M 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 虚拟机的文件管理由VMware Workstation来执行。一个虚拟机一般以一系列文件的形式储存在宿主机中,这些文件一般在由workstation为虚拟机所创建的那个目录中。如下图所示:(表示创建的虚拟机名字。)1、.vmx文件:表示虚拟系统文件,我们用虚拟机程序打开这个文件以启动虚拟系统。该文件... 阅读全文
posted @ 2016-01-24 22:25 小金乌会发光-Z&M 阅读(2836) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the or... 阅读全文
posted @ 2016-01-19 22:53 小金乌会发光-Z&M 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 内容译自英文原文:A Brief Introduction to REST不知你是否意识到,围绕着什么才是实现异构的应用到应用通信的“正确”方式,一场争论正进行的如火如荼:虽然当前主流的方式明显地集中在基于SOAP、WSDL和WS-*规范的Web Services领域,但也有少数人用细小但洪亮的声音... 阅读全文
posted @ 2016-01-19 21:36 小金乌会发光-Z&M 阅读(247) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 37 下一页