Jet Interview Question

Run length encoding.