Chinaunix首页 | 论坛 | 博客
  • 博客访问: 73691
  • 博文数量: 16
  • 博客积分: 31
  • 博客等级: 民兵
  • 技术积分: 187
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-19 19:58
个人简介

一步一个阶梯,向人类进化。

文章分类

全部博文(16)

文章存档

2018年(1)

2015年(3)

2014年(11)

2013年(1)

我的朋友

发布时间:2018-12-05 23:50:08

文本处理类命令现有txt文件如下 demo.txt:hello 1 2 3hi 789 9分隔符为空格grep - 过滤文本实例:点击(此处)折叠或打开grep hello demo.txt // 输出第一行grep "i 7" demo.txt // 输出第二.........【阅读全文】

阅读(6526) | 评论(0) | 转发(0)

发布时间:2015-03-01 15:51:00

完整链接:http://linux.chinaitlab.com/special/linuxcom/Index.html显示目录和文件的命令   Ls:用于查看所有文件夹的命令。   Dir:用于显示指定文件夹和目录的命令   Tree: 以树状图列出目录内容   Du:显示.........【阅读全文】

阅读(2849) | 评论(0) | 转发(0)

发布时间:2015-01-07 16:55:56

The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.Given an integer n, return all distinct solutions to the n-queens puzzle.Each solution contains a distinct board configu.........【阅读全文】

阅读(1891) | 评论(0) | 转发(0)

发布时间:2015-01-05 16:46:15

Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->5->NULL.Note:Given m, n satisfy the following condition:1 ≤ m .........【阅读全文】

阅读(1524) | 评论(0) | 转发(0)

发布时间:2014-12-29 16:19:55

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 endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a c.........【阅读全文】

阅读(1531) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册