Divide and Conquer:
- Solving chessboard coverage problem: Given a 2 ^ k * 2 ^ k of the chessboard, in which happens to have a checkerboard squares with other squares are not the same. Conventional L-shaped free to rotate domino, seeking a non-duplicate coverage, and in addition special side cover covering the entire extra grid
- Date cyclic arrangements: n = 2 ^ k There are two players to the game, the game schedule arrangement meets the following requirements
- Each player needs time with other players of n-1 game
- Each player game once a day only
- In the end of the game n-1 days
Backtracking:
- Solving N queens problem: given a size of N * N chessboard, placing N queens in the board, and such that the horizontal line between the respective Queen, vertical lines, oblique lines under
- m coloring problem: Given an undirected graph and m colors, these colors with each vertex shader for the graph, all adjacent vertices are calculated as the number of different colors of colored solutions
Greedy method:
- The maximum number of events given by the n activities start and end times, each time point by resource constraints, can only carry out an activity, find the n activities that can be performed: activities arrangements
- The number of containers loaded the n given container weight, and the load weight W wi ships, most seeking: optimal loading problem
- Flow-shop scheduling problem, batch job question: have two working machines, A can perform work, and the work B, the conventional n tasks, each task required to complete the work A, B after the completion of work, given each the time required to complete its task a work ai, and the time required to complete the work B bi, minimum time required to complete all tasks
Dynamic Programming:
- And maximum continuous sequence: the sequence given n digits, a contiguous sequence of numbers and called this sequence and the sequence was determined sequence of all sequences and this maximum subsequence sequence
- Edit distance problem: Given two strings, the minimum number of characters required operations, such that two strings are the same. Three existing character operation method,
- To delete a character
- Insert a character
- Alternatively a character to another character