Letter Count in a String
Asked at Beaconfire · Coding Questions · Difficulty: Easy · Last asked Jul 15, 2026
Given a string `stz`, write a function `LetterCountI(stz)` that returns the first word with the greatest number of repeated letters. If no letters repeat, return `-1`. Words will be separated by spaces.
Loading the problem…