input: Write a function to evaluate and compare the performance of two different heuristics algorithms by measuring the time taken for each algorithm to run on given input data. The function should print which algorithm is faster or if they have the same performance time. If the input data is empty, the function should return "No input data provided".
  assert compare_heuristics(data1, data2)== None
  assert compare_heuristics(data1, [])== "No input data provided"
  assert compare_heuristics([], data2)== "No input data provided"
  assert compare_heuristics([], [])== "No input data provided"
  assert compare_heuristics(data1, data2)== print("Algorithm 1 is faster than algorithm 2")
output: def compare_heuristics(data1, data2):
      if not data1 or not data2:
          return "No input data provided"
      
      import time
      
      start_time = time.time()
      # Algorithm 1 implementation here
      time.sleep(1)  # Placeholder for actual algorithm
      time1 = time.time() - start_time
      
      start_time = time.time()
      # Algorithm 2 implementation here
      time.sleep(2)  # Placeholder for actual algorithm
      time2 = time.time() - start_time
      
      if time1 < time2:
          print("Algorithm 1 is faster than Algorithm 2")
      elif time2 < time1:
          print("Algorithm 2 is faster than Algorithm 1")
      else:
          print("Both algorithms have the same performance time")