¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Merge sort
Does merge sort only work for data which is even in number or it can also sort data which is odd in number?
1 Respuesta
+ 1
Yes it can also sort odd amount, it just splits it as close to in half as possible and if the length of array == 1 then that section is considered sorted and returned