Amazon interview question

A coding question based on 2d array

Interview Answer

Anonymous

Jul 31, 2020

I answered it with O(nlogn) time complexity