Solving "Another Problem On Strings — codeforces" using two pointers

Правка en1, от codolove, 2016-02-23 22:09:45

I was trying to solve Another Problem On Strings using two pointers since it was mentioned in its tags but I am not getting an idea of it. I have solved it by using hashing and binary search by considering the prefix sum. It will be helpful if one can give some idea of approaching it with two pointers.

Теги two pointers, #codeforces, #strings

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский codolove 2016-02-23 22:09:45 420 Initial revision (published)