Which of these two dimensional array are advantageous to use and why?

后端 未结 5 1924
故里飘歌
故里飘歌 2021-01-26 18:54

In a facebook group, I saw a question like :

If a row dominated two dimensional array in the following which one is advantage and why?

         


        
5条回答
  •  无人及你
    2021-01-26 19:38

    However, there could very well be extenuating circumstances. For instance, if the numbers are both positive and negative there could be patterns to them such that one order would lead to an overflow (or loss of precision if floating point) where the other would be much better behaved.

提交回复
热议问题