Best solutions for Two pointer 1B