Find the word which has the greatest number of repeated letters in a sentence | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Find the word which has the greatest number of repeated letters in a sentence

Input: Today, is the greatest day ever Output: greatest As it has 2 t's and 2 e's

11th Jun 2018, 8:01 AM
Hatim M Baroodwala
Hatim M Baroodwala - avatar
3 Answers
11th Jun 2018, 11:51 AM
Louis
Louis - avatar
+ 4
Saksham Saxena , I think it's a programming related question. But an assignment though. 😅
11th Jun 2018, 8:18 AM
Sachin Artani
Sachin Artani - avatar
+ 2
Hi Hatim M Baroodwala , I hope you tried it first. Could you please show your work so that we can help you in it?
11th Jun 2018, 8:11 AM
Sachin Artani
Sachin Artani - avatar