You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
538 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package class_2022_01_2_week;
// 给定一个非常大的List<String> list
// 每一个字符串类似 : "hello,world,have,hello,world"
// 这一个字符串中有2个hello2个world1个have
// 请设计一种多线程处理方案统计list中每一个字符串切分出来的单词数量并且汇总
// 最终返回一个HashMap<String, Integer>表示每个字符串在list中一共出现几次
public class Code01_StringCounts {
// 多线程设计 + 算法
// 本题没有代码实现,会在课上讲述思路
}