Leetcode 71 Simplify Path
The key of solving this problem is to use a stack. But before we do that we need to split the string based on /. This way it will give us the parts between slashes which actually determines if we… Read More »Leetcode 71 Simplify Path