HARMAN Interview Question

Given a binary matrix, find out the maximum size square sub-matrix with all 1s.