DEV Community

Discussion on: Move Zeros Code Challenge

Collapse
 
adyngom profile image
Ady Ngom

Hello yes the sort method could be a good first route but if you look closely at the inner working of it, it is definitely not an optimized solution. You could always use benchmarking tools to compare the performance of different solutions.
Cheers