2 In order to prevent duplication and doing math on same pair of numbers, use the index of the first number in the equation (outer loop).
3 Rather than track the occurrences of each string, use the count itself to increment a counter then compare with length of the list. If values are equal, then no strings are repeated. Lists of different lengths are supported.
4 The Part II solution reuses the function from Part I.