Lengths of programs sorted according to increasing lengths . This is the order in which the programs have to be stored on tape for minimum MRT
document . write ( " " + " " ) ; for ( let i = 0 ; i < n ; i ++ ) document . write ( L [ i ] + " " ) ; document . write ( " " ) ;