原创 awk中的模式匹配

    awk中的模式匹配在awk程序命令中非常重要,它決定着被處理數據文件中到底哪一行需要處理,並且做出什麼樣的處理。     首先,我們先看awk命令的基本語法:awk pattern { actions }   注意:patte

原创 Remove Element ——結題報告

     【題目】 Given an array and a value, remove all instances of that value in place and return the new length. The or

原创 Shell中的變量

    這篇博文我們首先簡單介紹Shell中變量的幾個注意點,然後通過實際的例子來學習。     關於Shell的變量,總結起來有如下幾個注意點:     1)Shell中的變量是不區分類型的,這點和C++、java語言不同。變量統一地

原创 Reverse Nodes in k-Group——解題報告

    【題目】 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the n

原创 Divide Two Integers ——解題報告

    【題目】 Divide two integers without using multiplication, division and mod operator. If it is overflow, return MAX