Saved Bookmarks
| 1. |
Define A Brute-force Algorithm. Give A Short Example.? |
|
Answer» A brute FORCE algorithm is a type of algorithm that proceeds in a simple and OBVIOUS way, but requires a huge NUMBER of steps to complete. As an example, if you want to FIND out the factors of a given number N, using this sort of algorithm will REQUIRE to get one by one all the possible number combinations. A brute force algorithm is a type of algorithm that proceeds in a simple and obvious way, but requires a huge number of steps to complete. As an example, if you want to find out the factors of a given number N, using this sort of algorithm will require to get one by one all the possible number combinations. |
|