function solution(arr) { 代码写在这里 }
输入描述:
数组只包含字符串,0 每个字符串的长度 = 10,0 = 数组长度 = 20


输出描述:
如果包含重复的字符串,返回 true; 否则返回 false
示例1

输入

hello world

输出

false
示例2

输入

hello world in programming world

输出

true

说明

包含重复字符串 hello
加载中...