Div 2, 250 points

This can be done in a lot less code by making a bucket sort array int[] x = new int[26], then for each char in S.toCharArray(), set a[char - 'a']++;

Then return the max of that bucket array.