harbor run -t openthoughts/tasktrove-mix-h5-skill-diverse-v2-mix-h5-skill-diverse-1864
harbor download openthoughts/tasktrove-mix-h5-skill-diverse-v2-mix-h5-skill-diverse-1864
A string of length 6 consisting of lowercase English letters is considered coffee-like if the following conditions are met:
Your task is to determine whether a given string ( S ) is coffee-like.
YES
NO
Input:
abcabc
Output:
abcdea
aabbcc
xxxyyy
aabbaa
Develop your solution in the /app/ directory of your project.
/app/