min window using two pointer