[Solved] Making a java program that gives the number of distinct substrings of a input [closed]

[ad_1]

As this is homework, here is a guide.

  • Create a Set of String.
  • add each combination to the set.
  • get the size of the set.

[ad_2]

solved Making a java program that gives the number of distinct substrings of a input [closed]