Algorithm problem summary

2018-05-03

Brushed the topic of Niuke.com: Summarize the idea (the general idea is the same as mathematics, which is simplification and transformation)

Specific inspiration points:

1. The idea of ​​preprocessing and sorting data: such as the 8 queens problem

2. The operation of comparing the elements of an array, if it is complicated, you can try to reverse it and think from the last element to the front.

3. Dynamic programming, divide and conquer.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325224018&siteId=291194637