摘要: 题目: Given an absolute path for a file (Unix-style), simplify it. For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c" 题意及分析:给出一个un 阅读全文
posted @ 2017-12-22 11:00 荒野第一快递员 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You h 阅读全文
posted @ 2017-12-22 10:12 荒野第一快递员 阅读(269) 评论(0) 推荐(0) 编辑