Valve Corporation interview question

Find shortest distance between axis-aligned rectangles