r[0]=0  0  .  .  3  4  .
r[1]=1     .  7  .  . 10  .
r[2]=5                 . 13  . 15  .  .
r[3]=9                            18 19  . 21 22  .
r[4]=14                                          24  . 26  .  . 29
r[5]=7                      30  .  .  . 34  .

Figure 2: Result after step 3 of the first-fit method.

Back to Article