Definition
Problem
A problem is a computational task that requires a specific type of answer based on given inputs. These tasks are often categorised by the nature of their solution, such as decision problems requiring a “yes/no” answer, functional problems requiring a specific output, or optimisation problems seeking the best possible solution.