Sunday, May 23, 2010

k th smallest element in two sorted arrays.

Given two sorted integer arrays A and B of size n and m respectively, find the kth smallest element in the union of A and B in O(lg(n)+lg(m)) time




No comments:

Post a Comment