String Path Compression
You are given a path-like string where major parts are separated by forward slashes (/) and each major part contains minor parts separated by dots (.). Implement a two-stage compression routine.
Check more interview questions and experiences about Stripe
