I have been learning the two-pointer algorithm for a few days now. However, it is difficult to understand which of the two-pointer related problems in CF are more easier. So, if someone suggested a basic or simple problems related to two-points, it would be easier for me to understand the two-pointer algorithm better.
plz... suggest me, any problem link.
2 pointers is just taking a pointer called i and a pointer called j and moving it as per your logic..
There really is no other concept involved.
https://codeforces.me/problemset/problem/253/B
https://codeforces.me/contest/1036/problem/D
Use the problemset to find more
Triplets
another good problem on twopointers/binarysearch