Simplify Path

[Problem Link] Tokenize the string with ‘/’ as a delimiter. Create a graph where nodes have pointers to parent nodes. Keep moving up(& down)...