Brute force approach

From Computer Science Wiki
Jump to navigation Jump to search
Advanced programming[1]

Definition: relying on or achieved through the application of force, effort, or power in usually large amounts instead of more efficient, carefully planned, or precisely directed methods[2]

The Brute force approach is a technique that finds the correct answer by listing all the possible "candidate solutions" of a given problem. It is not limited and can be applied to many different problems, however the problems should be small and simple. Despite its positives it is inefficient and is very slow.


References