input: from typing import List, Tuple
  
  def evaluate_heuristics(data1: List, data2: List, algorithm1: callable, algorithm2: callable) -> Tuple[float, float]:
      """Evaluate and compare the performance of two different heuristics algorithms.
      >>> evaluate_heuristics([1, 2, 3], [4, 5, 6], lambda x: sum(x), lambda x: len(x))
      (3.0, 3.0)
      """
output:     result1 = algorithm1(data1)
      result2 = algorithm2(data2)
      return (float(result1), float(result2))