SailPoint Technologies interview question

Given a nxn graph find smallest rectangle within the graph