public class FrequencyCounter extends Object
For additional documentation, see Section 3.1 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
| Constructor and Description |
|---|
FrequencyCounter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Reads in a command-line integer and sequence of words from
standard input and prints out a word (whose length exceeds
the threshold) that occurs most frequently to standard output.
|
public static void main(String[] args)
Copyright © 2025. All Rights Reserved.