Run-Length Encode a Numeric Vector and Compute Dot Product of Two Compressed Vectors | Hello Interview