Number of Same-End Substrings - Practice Coding | SlaveCode