There's no single best way to palletize boxes, because there's a tradeoff between stacking strength and stability. If the boxes are stacked in perfectly aligned columns, this maximizes their stacking strength—but an interlocking pattern is often preferred for stability, especially when loads are not stretch-wrapped or stabilized, according to Cartons, Crates and Corrugated Board: Handbook of Paper and Wood Packaging Technology (Twede and Selke).