<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[bigfacesafdasgfewgf]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/puqutogether</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; puqutogether]]></copyright><item><title><![CDATA[LeetCode: Regular Expression Matching]]></title><link>https://blog.csdn.net/puqutogether/article/details/48877087</link><guid>https://blog.csdn.net/puqutogether/article/details/48877087</guid><author>puqutogether</author><pubDate>Sat, 03 Oct 2015 11:11:30 +0800</pubDate><description><![CDATA[Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.

The matching should cover the entire input st]]></description><category></category></item><item><title><![CDATA[POJ: Exponentiation]]></title><link>https://blog.csdn.net/puqutogether/article/details/48861147</link><guid>https://blog.csdn.net/puqutogether/article/details/48861147</guid><author>puqutogether</author><pubDate>Fri, 02 Oct 2015 16:57:48 +0800</pubDate><description><![CDATA[Description

Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many co]]></description><category></category></item><item><title><![CDATA[Substring with Concatenation of All Words——解题报告（窗口移动法）]]></title><link>https://blog.csdn.net/puqutogether/article/details/45897333</link><guid>https://blog.csdn.net/puqutogether/article/details/45897333</guid><author>puqutogether</author><pubDate>Thu, 21 May 2015 21:44:53 +0800</pubDate><description><![CDATA[【题目】


You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation
 of each word in wordsexactly ]]></description><category></category></item><item><title><![CDATA[正则表达式的简单梳理]]></title><link>https://blog.csdn.net/puqutogether/article/details/45888139</link><guid>https://blog.csdn.net/puqutogether/article/details/45888139</guid><author>puqutogether</author><pubDate>Thu, 21 May 2015 10:16:29 +0800</pubDate><description><![CDATA[这篇博文我们按照每一种正则表达式符号来整理。
1）行首定位符“^”：匹配行首的字符
#-----------------------------/chapter8/ex8-2.sh------------------
#! /bin/bash

#列出/etc目录中的以字母po开头的文件
str=`ls /etc | grep "^po"`
echo "$str"

注意：str变量的赋值，]]></description><category></category></item><item><title><![CDATA[awk中遍历数组的2种方式]]></title><link>https://blog.csdn.net/puqutogether/article/details/45872241</link><guid>https://blog.csdn.net/puqutogether/article/details/45872241</guid><author>puqutogether</author><pubDate>Wed, 20 May 2015 16:20:38 +0800</pubDate><description><![CDATA[awk中数组比较随意，同一个数组中的元素不一定要相同类型，而且数组下表可以是数字也可以是字符。
    遍历数组有两种方式：


1. 类似于C++的方式
#-----------------------------/chapter11/ex11-30.sh------------------
#! /bin/awk -f

BEGIN {
   #定义数组
   stu[1]="200]]></description><category></category></item><item><title><![CDATA[awk中的常用的字符串函数和数学函数]]></title><link>https://blog.csdn.net/puqutogether/article/details/45870991</link><guid>https://blog.csdn.net/puqutogether/article/details/45870991</guid><author>puqutogether</author><pubDate>Wed, 20 May 2015 16:05:33 +0800</pubDate><description><![CDATA[总结awk中常用的字符串函数和数学函数如下表：




具体使用方法在实践中自行体会~]]></description><category></category></item><item><title><![CDATA[awk中支持的运算符]]></title><link>https://blog.csdn.net/puqutogether/article/details/45866397</link><guid>https://blog.csdn.net/puqutogether/article/details/45866397</guid><author>puqutogether</author><pubDate>Wed, 20 May 2015 10:51:37 +0800</pubDate><description><![CDATA[awk中支持非常多的运算符，比shell脚本中要方便的多。






注意点：这些运算符两边可以有空格，也可以不加，格式比较随意。
另外，如果awk的运行方式是vi一个shell脚本，并且声明#! /bin/awk -f编辑器的话，那么我们需要chmod脚本文件为+x，然后再使用./脚本文件的形式执行awk程序，不可直接使用sh来执行。]]></description><category></category></item><item><title><![CDATA[awk中的变量]]></title><link>https://blog.csdn.net/puqutogether/article/details/45865865</link><guid>https://blog.csdn.net/puqutogether/article/details/45865865</guid><author>puqutogether</author><pubDate>Wed, 20 May 2015 08:32:06 +0800</pubDate><description><![CDATA[awk中的变量定义非常简单，只需要给出一个变量名并且赋予适当的值即可。


    awk中的常规变量分为两种类型：字符串和数值。无需指定变量类型，awk会根据变量所处的环境自动判断。如果没有指定值，数值类型的变量默认等于0，字符串类型的变量默认为空。


    awk中的系统内置变量总结如下，有一点要事先说明：awk说明中，记录表示一个样本，字段表示特征。





]]></description><category></category></item><item><title><![CDATA[awk中的模式匹配]]></title><link>https://blog.csdn.net/puqutogether/article/details/45865631</link><guid>https://blog.csdn.net/puqutogether/article/details/45865631</guid><author>puqutogether</author><pubDate>Wed, 20 May 2015 07:31:37 +0800</pubDate><description><![CDATA[awk中的模式匹配在awk程序命令中非常重要，它决定着被处理数据文件中到底哪一行需要处理，并且做出什么样的处理。


    首先，我们先看awk命令的基本语法：awk pattern { actions }   注意：pattern就是指的匹配模式，大括号外加两端空格的是处理动作。
    上面awk后面的匹配模式和处理行为至少得有一个，不能两个同时缺失。例如，上篇博文中awk { pr]]></description><category></category></item><item><title><![CDATA[执行awk程序的3种方式]]></title><link>https://blog.csdn.net/puqutogether/article/details/45850153</link><guid>https://blog.csdn.net/puqutogether/article/details/45850153</guid><author>puqutogether</author><pubDate>Tue, 19 May 2015 21:28:21 +0800</pubDate><description><![CDATA[awk是Linux系统中一种强大的数据处理工具，执行awk程序有3种方式。介绍如下：


1. 命令行方式
    语法形式：awk ' awk程序语句' 被处理文件名






2. 执行awk脚本方式
    语法形式：awk -f awk脚本文件名 被处理文件名
    注意：必须要先vi新建一个awk脚本文件，以.awk结尾，里面编辑awk程序。


  ]]></description><category></category></item><item><title><![CDATA[面试题中自增自减类型题目的解题技巧]]></title><link>https://blog.csdn.net/puqutogether/article/details/45823591</link><guid>https://blog.csdn.net/puqutogether/article/details/45823591</guid><author>puqutogether</author><pubDate>Mon, 18 May 2015 15:57:58 +0800</pubDate><description><![CDATA[在面试中，我们经常被问有关于自增自减的题目，这样的题目简单易懂，便于检验面试者的编程基本功，楼主在百度实习面试中就被问到。现在总结一下解题技巧：


    对于以下，有int x = 5, y = 6, z;
    题目1：z = ++x + y++;
    题目2：z = ++x + x++;
    题目3：x = ++x + x++；


    对于上面的三道题目，]]></description><category></category></item><item><title><![CDATA[Shell中的进制转换]]></title><link>https://blog.csdn.net/puqutogether/article/details/45823471</link><guid>https://blog.csdn.net/puqutogether/article/details/45823471</guid><author>puqutogether</author><pubDate>Mon, 18 May 2015 15:51:53 +0800</pubDate><description><![CDATA[在Shell中默认表示数值为十进制，那么二进制、八进制和十六进制如何表示呢？


    方法1：使用前缀。
    0开头表示八进制，0x开头表示十六进制。
    如下：
#-----------------------------/chapter4/ex4-35.sh------------------
#! /bin/sh

#十进制20
((x=20))
echo "$x"
]]></description><category></category></item><item><title><![CDATA[Shell中的运算符]]></title><link>https://blog.csdn.net/puqutogether/article/details/45822473</link><guid>https://blog.csdn.net/puqutogether/article/details/45822473</guid><author>puqutogether</author><pubDate>Mon, 18 May 2015 14:52:53 +0800</pubDate><description><![CDATA[Shell中也可以实现基本算术运算，以及位运算。
    我们总结起来有如下几点：
    1）基本的算术运算符：+、-、*、/、**都支持，最后的**是幂运算；
    2）算术运算要和一些命令结合才能使用，如expr`...`命令，$((...))命令，$[...]命令，let命令，注意：expr后面是反引号；
    3）一定要注意所有运算符两边都要有空格，比如result=`exp]]></description><category></category></item><item><title><![CDATA[Shell中的条件判断语句if~then~fi]]></title><link>https://blog.csdn.net/puqutogether/article/details/45815003</link><guid>https://blog.csdn.net/puqutogether/article/details/45815003</guid><author>puqutogether</author><pubDate>Mon, 18 May 2015 08:59:51 +0800</pubDate><description><![CDATA[Shell中的条件判断语句是前面一篇“Shell中的条件测试语句”的升级篇，也就是说，前面的测试语句是为了现在的判断语句if~then~fi语句服务的。
    我们还是按照注意点和代码实现的方式铺开：
    
    1）基本的if-then-fi语句可以用来判断基本的单层的分支结构，其形式如下：

其中if后面的测试语句一般都使用[]命令来做。如下面的例子：
#---------]]></description><category></category></item><item><title><![CDATA[Shell中的条件测试语句]]></title><link>https://blog.csdn.net/puqutogether/article/details/45797461</link><guid>https://blog.csdn.net/puqutogether/article/details/45797461</guid><author>puqutogether</author><pubDate>Sun, 17 May 2015 21:56:22 +0800</pubDate><description><![CDATA[Shell有条件测试语句，一般用test命令或是[]命令来完成，它们是条件判断语句if~then语句的基础，特别是[]命令。下面我们讲解一些条件测试语句。


1. test命令实现条件测试
    对于检测系统中某些文件是否存在，或者相关属性时，test命令很好用。
    其基本语法如下：


    test命令还可以测试字符串：




    test命令还可以]]></description><category></category></item><item><title><![CDATA[Shell中的变量]]></title><link>https://blog.csdn.net/puqutogether/article/details/45789059</link><guid>https://blog.csdn.net/puqutogether/article/details/45789059</guid><author>puqutogether</author><pubDate>Sun, 17 May 2015 15:22:44 +0800</pubDate><description><![CDATA[这篇博文我们首先简单介绍Shell中变量的几个注意点，然后通过实际的例子来学习。
    关于Shell的变量，总结起来有如下几个注意点：
    1）Shell中的变量是不区分类型的，这点和C++、java语言不同。变量统一地按照字符串存储；
    2）允许使用declare来改变变量的类型为整型，如declare -i x   这样并不改变x本身的值
    3）echo语句中显示变]]></description><category></category></item><item><title><![CDATA[Divide Two Integers ——解题报告]]></title><link>https://blog.csdn.net/puqutogether/article/details/45743435</link><guid>https://blog.csdn.net/puqutogether/article/details/45743435</guid><author>puqutogether</author><pubDate>Fri, 15 May 2015 13:23:12 +0800</pubDate><description><![CDATA[【题目】


Divide two integers without using multiplication, division and mod operator.

If it is overflow, return MAX_INT.

    【分析】
    基本思想：任何数都可以分成二进制的幂的线性表示。
    例子：以87除4举例， (4 * 2 = 8) => (]]></description><category></category></item><item><title><![CDATA[Remove Element ——结题报告]]></title><link>https://blog.csdn.net/puqutogether/article/details/45668437</link><guid>https://blog.csdn.net/puqutogether/article/details/45668437</guid><author>puqutogether</author><pubDate>Tue, 12 May 2015 13:39:43 +0800</pubDate><description><![CDATA[【题目】


Given an array and a value, remove all instances of that value in place and return the new length.

The order of elements can be changed. It doesn't matter what you leave beyond the new le]]></description><category></category></item><item><title><![CDATA[Remove Duplicates from Sorted Array ——解题报告]]></title><link>https://blog.csdn.net/puqutogether/article/details/45666311</link><guid>https://blog.csdn.net/puqutogether/article/details/45666311</guid><author>puqutogether</author><pubDate>Tue, 12 May 2015 10:31:09 +0800</pubDate><description><![CDATA[【题目】


Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.

Do not allocate extra space for another array, you must do this in ]]></description><category></category></item><item><title><![CDATA[Reverse Nodes in k-Group——解题报告]]></title><link>https://blog.csdn.net/puqutogether/article/details/45665281</link><guid>https://blog.csdn.net/puqutogether/article/details/45665281</guid><author>puqutogether</author><pubDate>Tue, 12 May 2015 09:38:00 +0800</pubDate><description><![CDATA[【题目】


Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.

If the number of nodes is not a multiple of k then left-out nodes in the end should remai]]></description><category></category></item></channel></rss>