Count Prefixes of a Given String - DSA Problem | Talentd