Write a program to find all sub string of given string and count the numbers of that sub string present in the original string. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write a program to find all sub string of given string and count the numbers of that sub string present in the original string.

Example input = banana output = ba 1 na 2 ban 1 nan 1 ana 2 ... and so on

7th Sep 2017, 6:29 AM
Rahul Aryan
Rahul Aryan - avatar
2 Answers
+ 2
what's the source code for this...
8th Sep 2017, 5:57 AM
Mohit Sharma
Mohit Sharma - avatar
0
search on the web bro..
8th Sep 2017, 6:20 AM
Rahul Aryan
Rahul Aryan - avatar