in computer science, a 'heuristic' is a kind of algorithm. algorithms are written to get a good solution to a problem. a heuristic algorithm might usually find pretty good solutions, but there is no guarantee or proof that the solutions are correct. the time it takes to run the algorithm is another consideration.