Stripe Interview Question

Multi-part exercise starting with implementing a string shortening algorithm (e.g. shortening abcdefghij to a8j)