Brute force means trying every possible candidate until you find the answer. It is simple and guaranteed correct, but often slow — frequently exponential or O(n²).
The idea
Exhaustively enumerate the solution space without clever shortcuts.
Example: find a pair that sums to a target (brute force)
():
i ((nums)):
j (i + , (nums)):
nums[i] + nums[j] == target:
(i, j)
