2022
01-17
01-17
Pipes实现LeetCode(193.验证电话号码)
[LeetCode]193.ValidPhoneNumbers验证电话号码Givenatextfilefile.txtthatcontainslistofphonenumbers(oneperline),writeaonelinerbashscripttoprintallvalidphonenumbers.Youmayassumethatavalidphonenumbermustappearinoneofthefollowingtwoformats:(xxx)xxx-xxxxorxxx-xxx-xxxx.(xmeansadigit)Youmayalsoassumeeachlineinthetextfilemustnotcontainleading...
继续阅读 >