Skip to content

Latest commit

 

History

History
12 lines (5 loc) · 537 Bytes

File metadata and controls

12 lines (5 loc) · 537 Bytes

2. Pattern: Two Pointers

1. One pointer at each end

One pointer starts from beginning and other from the end and they proceed towards each other

2. Different Paces

Both pointers start from the beginning but one pointer moves at a faster pace than the other one.