package uniq_chars

import "fmt"

func IsAllUniqueChars (strings ...string) bool {
	//Save Time
	fmt.Println(strings)

	//Iterate all runes and keep track of each we've seen O(n)
	//MAP {runeVal: seen before}
	charCounts := make(map[rune] bool)

	for _, string := range strings {
		for _, letterRune := range string {
			if (charCounts[letterRune] == true /*&& letterRune != ' '*/) {
				return false;
			} else {
				charCounts[letterRune] = true;
			}
		}

	}
	return true;
}

func IsAllUniqChars (strings ...string) bool {
	//Save Space

	//for each string/char, check all other strings/chars for replica that
	// is NOT THIS INSTANCE lol

	//for each string
	for thisStringIndex, thisString := range strings {
		//for each rune in the string
		for thisRuneIndex, thisRune := range thisString {
			//check each string
			for compStringIndex, compString := range strings {
				//for this rune
				for compRuneIndex, compRune := range compString {

					if (!(thisStringIndex == compStringIndex &&
						thisRuneIndex == compRuneIndex) &&
						thisRune == compRune){
						return false
					}
				}
			}
		}
	}

	return true;
}


package uniq_chars

import "fmt"

func IsAllUniqueChars (strings ...string) bool {
	//Save Time
	fmt.Println(strings)

	//Iterate all runes and keep track of each we've seen O(n)
	//MAP {runeVal: seen before}
	charCounts := make(map[rune] bool)

	for i, e := range strings {
		for _, letterRune := range e {
			if (charCounts[letterRune] == true /*&& letterRune != ' '*/) {
				return false;
			} else {
				charCounts[letterRune] = true;
			}
		}

	}
	return true;
}

func IsAllUniqChars (strings ...string) bool {
	//Save Space

	//for each string/char, check all other strings/chars for replica that
	// is NOT THIS INSTANCE lol

	//for each string
	for thisStringIdex, thisString := range strings {
		//for each rune in the string
		for thisRuneIndex, thisRune := range thisString {
			//check each string
			for compStringIndex, compString := range strings {
				//for this rune
				for compRuneIndex, compRune := range compString {

					if (!(thisStringIdex == compStringIndex &&
						thisRuneIndex == compRuneIndex) &&
						thisRune == compRune){
						return false
					}
				}
			}
		}
	}

	return true;
}


--- 
+++ 
@@ -10,8 +10,8 @@
 	//MAP {runeVal: seen before}
 	charCounts := make(map[rune] bool)
 
-	for i, e := range strings {
-		for _, letterRune := range e {
+	for _, string := range strings {
+		for _, letterRune := range string {
 			if (charCounts[letterRune] == true /*&& letterRune != ' '*/) {
 				return false;
 			} else {
@@ -30,7 +30,7 @@
 	// is NOT THIS INSTANCE lol
 
 	//for each string
-	for thisStringIdex, thisString := range strings {
+	for thisStringIndex, thisString := range strings {
 		//for each rune in the string
 		for thisRuneIndex, thisRune := range thisString {
 			//check each string
@@ -38,7 +38,7 @@
 				//for this rune
 				for compRuneIndex, compRune := range compString {
 
-					if (!(thisStringIdex == compStringIndex &&
+					if (!(thisStringIndex == compStringIndex &&
 						thisRuneIndex == compRuneIndex) &&
 						thisRune == compRune){
 						return false
Fix variabel naems in go unique chars.
