SailPoint Technologies Interview Question

Given a nxn graph find smallest rectangle within the graph