What’s difference between brute force approach and Ad-hoc approach .
@codechief1
1 Like
@abhaypandey114
I found some articles which might help you.
TLDR;
- Brute force finds all possible solutions to get the optimal solution.
- Ad-Hoc is generally somewhat inefficient and used to implement a solution covering a small number of test cases.
1 Like