Time Complexity of the "union" function
Mostrar comentarios más antiguos
I am using the "union" function to combine two arrays "A" and "B", could you provide me with some information on the time complexity of this function?
Additionally, what type of sorting algorithm does the function use, and is there a difference in the time complexity if the input arrays are already pre-sorted?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Multidimensional Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!