private static String parse(String word) {
        StringBuilder builder = new StringBuilder();
        for (int i = 0; i < word.length(); i++) {
            builder.append(codes[word.charAt(i) - 'a']);
        }
        return builder.toString();
    }
Why Did you create this class? what does it do?
src/problems/easy/UniqueMorseCodeWords.java