Best solutions for Two pointer 2D