DEV Community

Discussion on: Solution: Minimum Moves to Equal Array Elements II

Collapse
 
seanpgallivan profile image
seanpgallivan

We could, indeed. It's significantly more code, but it would lower the time complexity.