Home > Software engineering >  An algorithm of code
An algorithm of code

Time:10-31

One element type, the number of random 30 most elements of the array, hoping to get an arrangement, as shown in detail:

If the element number less than 30, map the position of the small number of priority to fill, the serial number of blank,
Thank you for your attention

CodePudding user response:

Give an algorithm scheme: yourself according to this plan into source code

1 converts data format ABCDEFGHABCDEGHABCDEGHABCABCAC
2.1 read data sequentially.
in the corresponding serial number of the grid2.1 the content of the current grid compared with phase led lattice content. If it is not the same, read the next data. If the same into 3.1
3.1 the content of the current grid and the grid before. After the exchange of two data repeated comparison. 2.1 if the replacement until the first data are the same, said there is no solution.

Here are a few steps before action
  •  Tags:  
  • VBA
  • Related