January 2018
Intermediate to advanced
332 pages
7h 36m
English
Brute-force algorithm is a type of problem-solving technique in which every possible solution to a particular problem is explored before either selecting or rejecting one of the solutions as the final solution to the problem.
When posed with a challenge, the most natural reaction is to brute-force the solution or try to brute-force it first and then optimize it later. However, is that really the best way to approach such problems? Are there better ways of doing things?
The answer is most definitely yes, as we have seen very well in the entire chapter so far. brute-force is not the solution until it is the only solution. Sometimes, we may feel that we are creating a custom algorithm to find the solution ...
Read now
Unlock full access