Create maximum window substring

memory limitation