What term describes the following? a straightforward problem-solving approach that tries all possible solutions to find the correct one.
- A. Sorting stability
- B. Selection sort
- C. Brute-force algorithm ✓
- D. Kruskal's algorithm
Correct answer
C. Brute-force algorithm
Explanation
Brute-force algorithm refers to a straightforward problem-solving approach that tries all possible solutions to find the correct one.