[LeetCode] 71. Simplify Path - 문제풀이
Description 절대 경로가 주어졌을때 이를 단순화된 표준경로로 변환하여 반환하는 문제입니다. =Given a string path, which is an absolute path (starting with a slash '/') to a file or directory in a Unix-style file system, convert it to the simplified canonical path. In a Unix-style file system, a period '.' refers to the current directory, a double period '..' refers to the directory up a level, and any multiple consecutive slashes ..