leesea

  • Home

  • reading

  • Tags

  • Categories

  • Archives

  • About

  • Search

Valid Phone Numbers

Posted on 2015-01-29 | Edited on 2019-02-11

描述

Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone numbers.

Read more »

Transpose File

Posted on 2015-01-29 | Edited on 2019-02-11

描述

Given a text file file.txt, transpose its content.

You may assume that each row has the same number of columns and each field is separated by the ‘ ‘ character.

Read more »

Tenth Line

Posted on 2015-01-29 | Edited on 2019-02-11

描述

Given a text file file.txt, print just the 10th line of the file.

Read more »

Two Sum

Posted on 2015-01-28 | Edited on 2019-01-28

描述

Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.

Read more »

hexo 配置

Posted on 2015-01-01 | Edited on 2019-01-29

hexo 是一个静态博客生成框架,采用nodejs编写,可以把markdown文件编译成html,并提交到git服务器。

Read more »
1…89

leesea

85 posts
16 categories
27 tags
RSS
© 2020 leesea
Powered by Hexo v3.7.1
|
Theme – NexT.Mist v6.4.1