Diverse Strings

  • + 2 comments

    for string length 18, and 3 distinct

    Test case says, aaaaaaaababacbabaa is the answer

    aaaaaaaaababcbabaa, can you explain why this one is not the answer? it is lexically smaller right? is the one given by me not diverse?