Little Shino and Substring Query

Problem Name:
Little Shino and Substring Query
Site:HackerEarth
Links:
Tags:
Problem setters: