Given a pathname string, return a condensed version by replacing intermediate folders with '..'.
Example
If
fullpath = 'C:\foo\bar\baz\qux';
then
shortpath = 'C:\..\qux';
Additional test cases have been added.
Back to basics 4 - Search Path
280 Solvers
Find out missing number from a vector of 9 elements
207 Solvers
Create matrix of replicated elements
266 Solvers
409 Solvers
241 Solvers