Simplify Path

Problem Statement: Given a string path, which is an absolute path (starting with a slash ‘/’) to a file or directory in a Unix-style […]