Sanjaykumar-IT/dsa-problems

Unique Substrings in a String

Open

#22 opened on Oct 29, 2024

 (0 comments) (0 reactions) (0 assignees)Java (4 forks)auto 404
hacktoberfesthactoberfest2024

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Given a string s, find the number of unique substrings in s. Input: s = "abc" Output: 6 (The unique substrings are "a", "b", "c", "ab", "bc", "abc")

Contributor guide