Count of distinct substrings
Jan 15 · 2 min read · Problem Given a string s consisting of lowercase English characters, determine the total number of distinct non-empty substrings present in the string. A substring is defined as a contiguous block of characters within the string. Two substrings are c...
Join discussion