摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded messag 阅读全文
posted @ 2015-06-28 16:32 linqiaozhou 阅读(570) 评论(0) 推荐(0)
摘要: Given an absolute path for a file (Unix-style), simplify it. For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c" click to show co 阅读全文
posted @ 2015-06-28 11:46 linqiaozhou 阅读(439) 评论(0) 推荐(0)