![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
interview
Hui_NJ
11年多的C/C++研发经验
展开
-
194. Transpose File
https://leetcode.com/problems/transpose-file/description/列行转换#!/bin/bashawk '{for (i = 1; i原创 2017-08-21 14:20:32 · 202 阅读 · 0 评论 -
193. Valid Phone Numbers
https://leetcode.com/problems/valid-phone-numbers/description/For example, assume that file.txt has the following content:987-123-4567123 456 7890(123) 456-7890(001) 345-00001Your scri原创 2017-08-21 16:07:58 · 214 阅读 · 0 评论 -
195. Tenth Line
https://leetcode.com/problems/tenth-line/description/filename="file.txt"i=0result=""while read line;do ((++i)) if [ $i -eq 10 ] then result=$l原创 2017-08-17 10:39:07 · 273 阅读 · 0 评论 -
192. Word Frequency
统计文件中单词出现频率Write a bash script to calculate the frequency of each word in a text file words.txt.For simplicity sake, you may assume: words.txt contains only lowercase characters and space原创 2017-08-23 15:30:39 · 228 阅读 · 0 评论