IsIsogram function example

bool UBullCowCartridge::IsIsogram(FString Guess) const
{ 
    for (int32 i = 0; i < Guess.Len(); i++)
    {
        for (int32 j = i + 1; j < Guess.Len(); j++)
        {
            if (Guess[i] == Guess[j])
            {
                return false;
            }
        }
    }

    return true;
}
1 Like

Good :+1: