input: Write a python function that accepts a list of integers as an argument and determines if there exist three unique numbers in the list whose sum is zero.
  assert has_three_elements_sum_to_zero([1, 3, 5, 0]) == False
  assert has_three_elements_sum_to_zero([1, 3, 5, -1]) == False
  assert has_three_elements_sum_to_zero([1, 3, -2, 1]) == True
  assert has_three_elements_sum_to_zero([1, 2, 3, 7]) == False
  assert has_three_elements_sum_to_zero([1, 2, 5, 7]) == False
  assert has_three_elements_sum_to_zero([2, 4, -5, 3, 9, 7]) == True
  assert has_three_elements_sum_to_zero([1]) == False
  assert has_three_elements_sum_to_zero([1, 3, 5, -100]) == False
  assert has_three_elements_sum_to_zero([100, 3, 5, -100]) == False
output: def has_three_elements_sum_to_zero(lst):
      lst.sort()
      n = len(lst)
      for i in range(n-2):
          if i > 0 and lst[i] == lst[i-1]:
              continue
          left, right = i+1, n-1
          while left < right:
              current_sum = lst[i] + lst[left] + lst[right]
              if current_sum == 0:
                  return True
              elif current_sum < 0:
                  left += 1
              else:
                  right -= 1
      return False