comparison of 2 arrays (BETTER THAN THE 0(N^2)ALGORITHM)

Правка en1, от iamgood1, 2019-02-28 21:45:15

i have 2 arrays a[n],b[n].(think of them as coordinates) i sort a. now i want to know to which a[i], b[i] corresponds to NOW AFTER a IS SORTED! (BETTER THAN THE 0(N^2)ALGORITHM) is there any way?

Теги array, algorithm complexity, comparison

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский iamgood1 2019-02-28 21:45:15 254 Initial revision (published)