def flight_time_movies_1_brute_force(movie_lengths, flight_length):
	"""
	Solution: Brute force iterative solution compares each movie length with
	all subsequent movie lengths.
	Complexity:
		Time: O(n^2)
		Space: O(1)
	"""
	if len(movie_lengths) < 2:
		raise ValueError('movie length list must be at least 2 items long')

	# For each movie length
	for index, movie_length_first in enumerate(movie_lengths):
		movie_lengths_sub = movie_lengths[0:index] + movie_lengths[
													 index + 1:len(
														 movie_lengths)]
		# Check all other movie lengths (skipping over the first movie length)
		for movie_length_second in movie_lengths_sub:
			if movie_length_first + movie_length_second == flight_length:
				return True
	return False