Audible interview question

Write an optimized solution for pairing songs in minute increments.