摘要: class Solution { public String simplifyPath(String path) { String[] lu = path.split("/+");//正则,以一个或多个“/”进行切割。 Stack<String> sta = new Stack<>(); // Sy 阅读全文
posted @ 2020-06-02 00:55 tiananboke 阅读(138) 评论(0) 推荐(0)