The 3 4 and 2 i gues its indicate as the number of rows per line the 2 represent two lines …
For example i want to run it in php code the output would be spiral order like spiral matrix but the inputs are coming from the spiral.txt
Like for example i open the i dont realy sure if its the right syntax
$filecontents = fopen(“spiral.txt”,“r”);
And then when the file contents got extracted i will createva function that would output in spiral order
Example:
sample output will be
Output 1: 124789056
Output 2: 123482109567
Output 3: 124