Sherlock and Unique Substrings

Problem Name:
Sherlock and Unique Substrings
Site:HackerRank
Links:
Tags:
Problem setters: