maximal rectangle, Time Limit Exceeded

Last executed input:	["0010","1111","1111","1110","1100","1111","1110"]