Isogram check with one loop

 int32 Index = 0;
    int32 Comparison = Index + 1;

    for (; Comparison < Word.Len(); Comparison++)
    {
        if(Word[Index] == Word[Comparison])
        {
            return false;
        }

        if (Comparison == Word.Len() - 1)
        {
            Comparison = Index + 1;
            ++Index;
        }
    }
2 Likes

Looking good!

1 Like

Privacy & Terms