My IsIsogram

bool FBullCowGame::IsIsogram(FString Guess) const
{
	// note: consider 0 or 1 letter words as isograms
	if (Guess.length() <= 1) { return true; }
	TMap<char, bool> LetterSeen; // setup our map
	// create a for loop to go through the guess string char by char
	for (auto Letter : Guess) {
		Letter = tolower(Letter); // to handle Capital letters
		// check via TMap wether the letter has been seen or not
		if (LetterSeen[Letter])
		{
			return false;
		}
		else
		{
			LetterSeen[Letter] = true;
		}
	}
	// if we reach here Guess is an isogram
	return true;
}

Easier than I thought - hope it’s correct :slight_smile:

Looks like it