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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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