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.
3417 Solvers
225 Solvers
Solve the set of simultaneous linear equations
173 Solvers
Convert from Base 10 to base 5
119 Solvers
811 Solvers