Amazon interview question

A coding question based on 2d array

Interview Answer

Anonymous

31 July 2020

I answered it with O(nlogn) time complexity