when you do complexity, you assume arrays are flat... also in implementation they're also actually flat, that abs takes an O(n) by itself