![]() The rather small example below illustrates this. (Don’t worry, I hate maths too).ĭivide and conquer is where you divide a large problem up into many smaller, much easier to solve problems. The final will get into the mathematical core of divide and conquer techniques. This article is designed to be read by someone with very little programming knowledge. Don’t worry if you have zero experience or knowledge on the topic. Before worrying about optimising for loops or if statements try to attack your problem from a different angle.ĭivide and Conquer is one way to attack a problem from a different angle. Most computers have over 1 core, with the ability to support multiple threads. Often I’ll hear about how you can optimise a for loop to be faster or how switch statements are faster than if statements. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |