• + 1 comment

    If you're doing every combination it doesn't matter which loop is first. n*m = m*n.