N^2 is just two nested loops. It trivially shows up everywhere you have 2D arrays.
Do I really need to make my code spaghetti if the array sizes are small enough to not impact my speed ?
Do I really need to make my code spaghetti if the array sizes are small enough to not impact my speed ?