+ 1

Counting

Input :Bananananana Output: na is repeated 5 times. Can anyone help me to write this??

19th Jan 2018, 10:05 AM
kiranmayi janagam
kiranmayi janagam - avatar
5 Respuestas
+ 1
If I understand correctly, it is necessary to count the number of substrings in string: https://code.sololearn.com/cd2nVxlXDVcY/?ref=app
19th Jan 2018, 1:13 PM
Ахмед Алиев
Ахмед Алиев - avatar
+ 3
https://code.sololearn.com/cG4SOq7CoeOG/#java
19th Jan 2018, 12:25 PM
Prokopios Poulimenos
Prokopios Poulimenos - avatar
0
Tq for the code.. prokopios poulimenos..😊
19th Jan 2018, 3:06 PM
kiranmayi janagam
kiranmayi janagam - avatar
0
Ur code not working Axmen Anneb
19th Jan 2018, 3:07 PM
kiranmayi janagam
kiranmayi janagam - avatar
0
kiranmayi, it's work. First you need enter the word(f.e. banana) and only then the phrase(f.e. na).
26th Feb 2018, 11:52 AM
Ахмед Алиев
Ахмед Алиев - avatar