Pregunta de entrevista de Valve Corporation

Implement a function that returns the shortest distance between two rectangles.