Time Complexity of the "union" function
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!