count of maximum number of times a character repeated in a string?
Created 2 years ago
29
Views
1
Comments
Given a string S,count the maximum number of times a character repeated in the string.If no character is repeated print '0'.
Input Size : 1 <= N <= 100000
Sample Testcase :
INPUT
codekata
OUTPUT
2