Spotify Interview Question

Code some well known algorithm and reason about it. Implement unit tests. Besides many trival questions