No, reduce has exactly the same time complexity as map and filter.
Sorry I changed problems a bit and started talking about me trying to understand matrices lol
Sorry I changed problems a bit and started talking about me trying to understand matrices lol