Suppose we have two sorted arrays: A and B of size n. We would like to know if there is such a pair of indexes (i,j) that A[i] + B[j] = C. C is a given number. What’s the best worst-case time co… more →
Codematelesshumansmorerobots wrote 7 months ago: As I head to the snowy north for the winter break, I’m on a layover in god’s favorite ci … more →
Danil Glinenko wrote 11 months ago: Suppose we have two sorted arrays: A and B of size n. We would like to know if there is such a pair … more →