Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
well, in the example: all the characters of the string "aaaaaaaghhhhjkll" are not unique–more than 1 "a" >> "Deja Vu" in 1st test case: "asd" — all characters are unique (that's 1–a, 1–s, 1–d) >> "Unique" in 2nd test case: "sammich" – we have 2 "m" >> "Deja Vu"
5th Mar 2022, 8:30 AM
Barnik Roy
Barnik Roy - avatar