Given a 2D array where each row is sorted in ascending order, find an element that is present in all rows. If multiple exist, any can be returned, or report if none exists.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.