A trial-and-error method of problem solving used when an algorithmic or mathematical approach is called: heuristics.
An algorithm can be defined as a standard formula (procedures) which comprises a set of finite steps or instructions, that is typically used for solving a problem on a computer.
The three (3) basic building blocks (constructs) used in an algorithm are:
Heuristics can be defined as a trial-and-error method used in solving a problem when an algorithmic or mathematical approach is not feasible or practical.
Hence, it typically involves the use of a functional methodology that is not completely structured as an algorithmic or mathematical approach, when solving a problem.
Read more: https://brainly.com/question/21172316