Problem Description

Normalize a user given path and print the safe version.

Input Format

stdin: one path.

Output Format

Print normalized path.

Sample Test Case

Input:
../meetcode//a/./b
Output:
..\\meetcode\\a\\b

Constraints

Use path.normalize only.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next