上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页
摘要: Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 把十进制转为罗马数 罗马数字的基本符号有I(表示十进制数1),V(表示5),X(表示 阅读全文
posted @ 2016-03-14 11:17 zxqstrong 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文
posted @ 2016-03-14 10:58 zxqstrong 阅读(640) 评论(0) 推荐(0) 编辑
摘要: Determine whether an integer is a palindrome. Do this without extra space. 判断一个数是否是回文数。 阅读全文
posted @ 2016-03-14 10:14 zxqstrong 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below 阅读全文
posted @ 2016-03-14 10:05 zxqstrong 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 注意读入和返回的数都是 int 型的,这时就要考虑反转后这个数会不会超 int,超的话就返回 0 。这时处理数时最好用 阅读全文
posted @ 2016-03-14 09:41 zxqstrong 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 【题目】 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed 阅读全文
posted @ 2016-03-13 20:17 zxqstrong 阅读(285) 评论(0) 推荐(0) 编辑
摘要: JDK(Java Development Kit)是针对Java开发员的产品,是整个Java的核心,包括了Java运行环境JRE、Java工具和Java基础类库。 Java Runtime Environment(JRE)是运行JAVA程序所必须的环境的集合,包含JVM标准实现及Java核心类库。 阅读全文
posted @ 2016-03-10 14:44 zxqstrong 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 排序分类 1)稳定/不稳定排序:假设在待排序的文件中,存在两个或两个以上的记录具有相同的关键字,在用某种排序法排序后,若这些相同关键字的元素的相对次序仍然不变,则这种排序方法是稳定的。 2)内排序/外排序:在排序过程中,全部记录存放在内存,则称为内排序,如果排序过程中需要使用外存,则称为外排序。 排 阅读全文
posted @ 2015-12-15 15:24 zxqstrong 阅读(394) 评论(0) 推荐(0) 编辑
摘要: --------------------------------------------------------------- -------------- 概要 -------------------------------------------------------------... 阅读全文
posted @ 2015-12-08 16:00 zxqstrong 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 1. LVM概念 LVM是 Logical Volume Manager(逻辑卷管理)的简写,它由Heinz Mauelshagen在Linux 2.4内核上实现。LVM将一个或多个硬盘的分区在逻辑上集合,相当于一个大硬盘来使用,当硬盘的空间不够使用的时候,可以继续将其它的硬盘的分区加入其中,这样... 阅读全文
posted @ 2015-11-29 19:22 zxqstrong 阅读(1607) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 27 下一页